Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
[GitHub/mt8127/android_kernel_alcatel_ttab.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 */