X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsections.h;h=916018e425c4dc7112f6c0c1f49f884118d4bd0b;hb=de29cba9c9bb2dc35803e8d5c968a454e297b8f3;hp=47be2ac2a925cef5caf37aec8b9e0caec8ae9da5;hpb=ab11d1ea281e85895369ef57c5259ad8a432fabb;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 */