]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/tlb.h
[POWERPC] kdump: Support kernels having 64k page size.
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / tlb.h
index 56659f12177981a7b71392e61039fb07a10bc0fc..4e2a834683fbcae87e39b4bbdaaefa3b7bbc6b18 100644 (file)
@@ -11,8 +11,8 @@
  */
 #ifndef _ASM_POWERPC_TLB_H
 #define _ASM_POWERPC_TLB_H
+#ifdef __KERNEL__
 
-#include <linux/config.h>
 #ifndef __powerpc64__
 #include <asm/pgtable.h>
 #endif
@@ -67,4 +67,5 @@ static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
 }
 
 #endif
+#endif /* __KERNEL__ */
 #endif /* __ASM_POWERPC_TLB_H */