]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/pgtable.h
[PATCH] reduce MAX_NR_ZONES: remove display of counters for unconfigured zones
[linux-2.6-omap-h63xx.git] / include / asm-arm / pgtable.h
index e85c08d78ddadf5e85f14818fc858c94692e40d2..8d3919c6458c6c9326ef35a35ee7c848d34ac467 100644 (file)
 #define _ASMARM_PGTABLE_H
 
 #include <asm-generic/4level-fixup.h>
+#include <asm/proc-fns.h>
+
+#ifndef CONFIG_MMU
+
+#include "pgtable-nommu.h"
+
+#else
 
 #include <asm/memory.h>
-#include <asm/proc-fns.h>
 #include <asm/arch/vmalloc.h>
 
 /*
@@ -378,4 +384,6 @@ extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
 
 #endif /* !__ASSEMBLY__ */
 
+#endif /* CONFIG_MMU */
+
 #endif /* _ASMARM_PGTABLE_H */