]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mm/mm.h
Pull bugzilla-7349 into test branch
[linux-2.6-omap-h63xx.git] / arch / arm / mm / mm.h
index bb2bc9ab6bd38fd06243542effd2017cc4326b8a..a44e3097063544315b14d43acc29a575385561cf 100644 (file)
@@ -1,4 +1,7 @@
 /* the upper-most page table pointer */
+
+#ifdef CONFIG_MMU
+
 extern pmd_t *top_pmd;
 
 #define TOP_PTE(x)     pte_offset_kernel(top_pmd, x)
@@ -13,6 +16,8 @@ static inline pmd_t *pmd_off_k(unsigned long virt)
        return pmd_off(pgd_offset_k(virt), virt);
 }
 
+#endif
+
 struct map_desc;
 struct meminfo;
 struct pglist_data;