]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/tce.h
[PATCH] fix rmmod problems with elevator attributes, clean them up
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / tce.h
index 980a094fd5a7201c488b26d577efa49f31e33dac..6fa200ad7a7f29813ae15d484b2dacaa1f7aa3ce 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifndef _ASM_POWERPC_TCE_H
 #define _ASM_POWERPC_TCE_H
+#ifdef __KERNEL__
 
 /*
  * Tces come in two formats, one for the virtual bus and a different
@@ -61,4 +62,5 @@ union tce_entry {
 };
 
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_TCE_H */