]> Pileus Git - ~andy/linux/blobdiff - include/asm-powerpc/pgalloc.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
[~andy/linux] / include / asm-powerpc / pgalloc.h
index bfc2113b36309b58cf93795b3081e442fade1482..9f5b052784a5419ccf5298d74005b095c512dfa2 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_PGALLOC_H
 #define _ASM_POWERPC_PGALLOC_H
+#ifdef __KERNEL__
 
 #ifndef CONFIG_PPC64
 #include <asm-ppc/pgalloc.h>
@@ -153,4 +154,5 @@ extern void pgtable_free_tlb(struct mmu_gather *tlb, pgtable_free_t pgf);
 #define check_pgt_cache()      do { } while (0)
 
 #endif /* CONFIG_PPC64 */
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_PGALLOC_H */