patch-2.4.21 linux-2.4.21/include/asm-i386/io.h

Next file: linux-2.4.21/include/asm-i386/io_apic.h
Previous file: linux-2.4.21/include/asm-i386/ide.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-i386/io.h linux-2.4.21/include/asm-i386/io.h
@@ -187,9 +187,9 @@
 #define __raw_writew writew
 #define __raw_writel writel
 
-#define memset_io(a,b,c)	memset(__io_virt(a),(b),(c))
-#define memcpy_fromio(a,b,c)	memcpy((a),__io_virt(b),(c))
-#define memcpy_toio(a,b,c)	memcpy(__io_virt(a),(b),(c))
+#define memset_io(a,b,c)	__memset(__io_virt(a),(b),(c))
+#define memcpy_fromio(a,b,c)	__memcpy((a),__io_virt(b),(c))
+#define memcpy_toio(a,b,c)	__memcpy(__io_virt(a),(b),(c))
 
 /*
  * ISA space is 'always mapped' on a typical x86 system, no need to

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