patch-2.4.23 linux-2.4.23/include/asm-sparc64/io.h

Next file: linux-2.4.23/include/asm-sparc64/ioctl.h
Previous file: linux-2.4.23/include/asm-sparc64/head.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sparc64/io.h linux-2.4.23/include/asm-sparc64/io.h
@@ -413,7 +413,7 @@
  */
 #define ioremap(__offset, __size)	((void *)(__offset))
 #define ioremap_nocache(X,Y)		ioremap((X),(Y))
-#define iounmap(__addr)			do { } while(0)
+#define iounmap(__addr)			do { (void)(__addr); } while(0)
 
 /* Similarly for SBUS. */
 #define sbus_ioremap(__res, __offset, __size, __name) \

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