patch-1.3.12 linux/include/asm-alpha/io.h

Next file: linux/include/asm-alpha/mman.h
Previous file: linux/drivers/sound/pas2_midi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.11/linux/include/asm-alpha/io.h linux/include/asm-alpha/io.h
@@ -77,7 +77,7 @@
 # define outl(l,p) _outl((l),(p))
 #endif
 
-#endif /* __KERNEL__ */
+#endif /* !__KERNEL__ */
 
 /*
  * There are different version of the alpha motherboards: the
@@ -90,6 +90,8 @@
 #include <asm/jensen.h>
 #endif
 
+#ifdef __KERNEL__
+
 /*
  * String version of IO memory access ops:
  */
@@ -122,5 +124,7 @@
 #define memset_io(addr,c,len)		(memset_io)((unsigned long)(addr),(c),(len))
 #define memcpy_fromio(to,from,len)	(memcpy_fromio)((to),(unsigned long)(from),(len))
 #define memcpy_toio(to,from,len)	(memcpy_toio)((unsigned long)(to),(from),(len))
+
+#endif /* __KERNEL__ */
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this