X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-arm%2Fpage.h;h=63d12f0244c50d09ab60c89d56159196440fb024;hb=fb0ba6bd021248b6bdc58a7b1213a55a6776a38a;hp=66cfeb5290ea5c0e077f67db6bd154c5768ab9b1;hpb=28e4b224955cbe30275b2a7842e729023a4f4b03;p=powerpc.git diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index 66cfeb5290..63d12f0244 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h @@ -23,6 +23,12 @@ #ifndef __ASSEMBLY__ +#ifndef CONFIG_MMU + +#include "page-nommu.h" + +#else + #include /* @@ -171,6 +177,8 @@ typedef unsigned long pgprot_t; /* the upper-most page table pointer */ extern pmd_t *top_pmd; +#endif /* CONFIG_MMU */ + #include #endif /* !__ASSEMBLY__ */