X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsections.h;h=916018e425c4dc7112f6c0c1f49f884118d4bd0b;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=47be2ac2a925cef5caf37aec8b9e0caec8ae9da5;hpb=23fd07750a789a66fe88cf173d52a18f1a387da4;p=linux-2.6 diff --git a/include/asm-powerpc/sections.h b/include/asm-powerpc/sections.h index 47be2ac2a9..916018e425 100644 --- a/include/asm-powerpc/sections.h +++ b/include/asm-powerpc/sections.h @@ -1,5 +1,6 @@ #ifndef _ASM_POWERPC_SECTIONS_H #define _ASM_POWERPC_SECTIONS_H +#ifdef __KERNEL__ #include @@ -17,4 +18,5 @@ static inline int in_kernel_text(unsigned long addr) #endif +#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_SECTIONS_H */