]> err.no Git - linux-2.6/blobdiff - include/asm-arm/page.h
[ARM] Remove TABLE_SIZE, and several unused function prototypes
[linux-2.6] / include / asm-arm / page.h
index a404d2bf0c68b9c0818efc75ca11571133444a77..63d12f0244c50d09ab60c89d56159196440fb024 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef _ASMARM_PAGE_H
 #define _ASMARM_PAGE_H
 
-#include <linux/config.h>
 
 /* PAGE_SHIFT determines the page size */
 #define PAGE_SHIFT             12
 
 #ifndef __ASSEMBLY__
 
+#ifndef CONFIG_MMU
+
+#include "page-nommu.h"
+
+#else
+
 #include <asm/glue.h>
 
 /*
@@ -172,6 +177,8 @@ typedef unsigned long pgprot_t;
 /* the upper-most page table pointer */
 extern pmd_t *top_pmd;
 
+#endif /* CONFIG_MMU */
+
 #include <asm/memory.h>
 
 #endif /* !__ASSEMBLY__ */