patch-2.3.40 linux/include/asm-ppc/io.h

Next file: linux/include/asm-ppc/ipcbuf.h
Previous file: linux/include/asm-m68k/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/include/asm-ppc/io.h linux/include/asm-ppc/io.h
@@ -100,7 +100,7 @@
 extern void _insl_ns(volatile unsigned long *port, void *buf, int nl);
 extern void _outsl_ns(volatile unsigned long *port, const void *buf, int nl);
 
-#define IO_SPACE_LIMIT 0xffff
+#define IO_SPACE_LIMIT ~0
 
 #define memset_io(a,b,c)	memset((a),(b),(c))
 #define memcpy_fromio(a,b,c)	memcpy((a),(b),(c))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)