patch-2.4.0-test9 linux/include/asm-sparc/io.h
Next file: linux/include/asm-sparc/resource.h
Previous file: linux/include/asm-sparc/fcntl.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sun Sep 17 09:50:02 2000
- Orig file:
v2.4.0-test8/linux/include/asm-sparc/io.h
- Orig date:
Fri Apr 14 09:37:10 2000
diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-sparc/io.h linux/include/asm-sparc/io.h
@@ -1,5 +1,5 @@
/*
- * $Id: io.h,v 1.27 2000/04/13 04:45:59 davem Exp $
+ * $Id: io.h,v 1.28 2000/09/17 05:12:00 davem Exp $
*/
#ifndef __SPARC_IO_H
#define __SPARC_IO_H
@@ -164,6 +164,8 @@
return (void *) dst;
}
+#ifdef __KERNEL__
+
/*
* Bus number may be embedded in the higher bits of the physical address.
* This is why we have no bus number argument to ioremap().
@@ -199,5 +201,7 @@
#define dma_cache_inv(_start,_size) do { } while (0)
#define dma_cache_wback(_start,_size) do { } while (0)
#define dma_cache_wback_inv(_start,_size) do { } while (0)
+
+#endif
#endif /* !(__SPARC_IO_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)