]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-powerpc/sections.h
fbdev: move arch-specific bits to their respective subdirectories
[karo-tx-linux.git] / include / asm-powerpc / sections.h
index 47be2ac2a925cef5caf37aec8b9e0caec8ae9da5..916018e425c4dc7112f6c0c1f49f884118d4bd0b 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_SECTIONS_H
 #define _ASM_POWERPC_SECTIONS_H
+#ifdef __KERNEL__
 
 #include <asm-generic/sections.h>
 
@@ -17,4 +18,5 @@ static inline int in_kernel_text(unsigned long addr)
 
 #endif
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_SECTIONS_H */