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
- Lines: 9
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-sparc64/io.h
- Orig date:
2002-02-25 11:38:13.000000000 -0800
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)