diff options
Diffstat (limited to 'include/asm-powerpc/sections.h')
| -rw-r--r-- | include/asm-powerpc/sections.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/sections.h b/include/asm-powerpc/sections.h index 47be2ac2a925..916018e425c4 100644 --- a/include/asm-powerpc/sections.h +++ b/include/asm-powerpc/sections.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #ifndef _ASM_POWERPC_SECTIONS_H | 1 | #ifndef _ASM_POWERPC_SECTIONS_H |
| 2 | #define _ASM_POWERPC_SECTIONS_H | 2 | #define _ASM_POWERPC_SECTIONS_H |
| 3 | #ifdef __KERNEL__ | ||
| 3 | 4 | ||
| 4 | #include <asm-generic/sections.h> | 5 | #include <asm-generic/sections.h> |
| 5 | 6 | ||
| @@ -17,4 +18,5 @@ static inline int in_kernel_text(unsigned long addr) | |||
| 17 | 18 | ||
| 18 | #endif | 19 | #endif |
| 19 | 20 | ||
| 21 | #endif /* __KERNEL__ */ | ||
| 20 | #endif /* _ASM_POWERPC_SECTIONS_H */ | 22 | #endif /* _ASM_POWERPC_SECTIONS_H */ |
