The patch titled pcmcia: ppc64 needs 64-bit ioaddr_t has been added to the -mm tree. Its filename is pcmcia-ppc64-needs-64-bit-ioaddr_t.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: pcmcia: ppc64 needs 64-bit ioaddr_t From: Olof Johansson <olof@xxxxxxxxx> ppc64 really needs ioaddr_t to be 64-bit, since I/O addresses really are MMIO addresses, and remapped to a high range. While the type is exported to userspace, there hasn't been any platforms with PCMCIA on 64-bit powerpc until now, so changing it won't regress any existing users. Signed-off-by: Olof Johansson <olof@xxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/pcmcia/cs_types.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) diff -puN include/pcmcia/cs_types.h~pcmcia-ppc64-needs-64-bit-ioaddr_t include/pcmcia/cs_types.h --- a/include/pcmcia/cs_types.h~pcmcia-ppc64-needs-64-bit-ioaddr_t +++ a/include/pcmcia/cs_types.h @@ -21,12 +21,16 @@ #include <sys/types.h> #endif -#if defined(__arm__) || defined(__mips__) +#if defined(__powerpc64__) +/* I/O addresses are really MMIO addresses on PPC, and can thus be 64 bits */ +typedef unsigned long ioaddr_t; +#elif defined(__arm__) || defined(__mips__) /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */ typedef u_int ioaddr_t; #else typedef u_short ioaddr_t; #endif + typedef unsigned long kio_addr_t; typedef u_short socket_t; _ Patches currently in -mm which might be from olof@xxxxxxxxx are 8xx-mpc885ads-pcmcia-support.patch 8xx-mpc885ads-pcmcia-support-fix.patch 8xx-fix-whitespace-and-indentation.patch dts-kill-hardcoded-phandles.patch pcmcia-ppc64-needs-64-bit-ioaddr_t.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html