]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/dma.h
[IA64] fix userspace compile error in gcc_intrin.h
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / dma.h
index 926378d2cd94d9f4f45ad29dd106c24006bbf66d..7a4374bdbef48fa482e55682e92e3e8cc74fdfa0 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_DMA_H
 #define _ASM_POWERPC_DMA_H
+#ifdef __KERNEL__
 
 /*
  * Defines for using and allocating dma channels.
@@ -21,7 +22,6 @@
  * with a grain of salt.
  */
 
-#include <linux/config.h>
 #include <asm/io.h>
 #include <linux/spinlock.h>
 #include <asm/system.h>
@@ -387,4 +387,5 @@ extern int isa_dma_bridge_buggy;
 
 #endif /* !defined(CONFIG_PPC_ISERIES) || defined(CONFIG_PCI) */
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_DMA_H */