diff options
Diffstat (limited to 'include/asm-powerpc/pgalloc.h')
-rw-r--r-- | include/asm-powerpc/pgalloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/pgalloc.h b/include/asm-powerpc/pgalloc.h index bfc2113b3630..9f5b052784a5 100644 --- a/include/asm-powerpc/pgalloc.h +++ b/include/asm-powerpc/pgalloc.h | |||
@@ -1,5 +1,6 @@ | |||
1 | #ifndef _ASM_POWERPC_PGALLOC_H | 1 | #ifndef _ASM_POWERPC_PGALLOC_H |
2 | #define _ASM_POWERPC_PGALLOC_H | 2 | #define _ASM_POWERPC_PGALLOC_H |
3 | #ifdef __KERNEL__ | ||
3 | 4 | ||
4 | #ifndef CONFIG_PPC64 | 5 | #ifndef CONFIG_PPC64 |
5 | #include <asm-ppc/pgalloc.h> | 6 | #include <asm-ppc/pgalloc.h> |
@@ -153,4 +154,5 @@ extern void pgtable_free_tlb(struct mmu_gather *tlb, pgtable_free_t pgf); | |||
153 | #define check_pgt_cache() do { } while (0) | 154 | #define check_pgt_cache() do { } while (0) |
154 | 155 | ||
155 | #endif /* CONFIG_PPC64 */ | 156 | #endif /* CONFIG_PPC64 */ |
157 | #endif /* __KERNEL__ */ | ||
156 | #endif /* _ASM_POWERPC_PGALLOC_H */ | 158 | #endif /* _ASM_POWERPC_PGALLOC_H */ |