]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mm/mm.h
[ARM] remove 'prot_pte_ext' from memory type table
[linux-2.6-omap-h63xx.git] / arch / arm / mm / mm.h
index bb2bc9ab6bd38fd06243542effd2017cc4326b8a..66f8612c5e5b9cdbab3127013b65a16c0a264d2e 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,17 @@ static inline pmd_t *pmd_off_k(unsigned long virt)
        return pmd_off(pgd_offset_k(virt), virt);
 }
 
+struct mem_type {
+       unsigned int prot_pte;
+       unsigned int prot_l1;
+       unsigned int prot_sect;
+       unsigned int domain;
+};
+
+const struct mem_type *get_mem_type(unsigned int type);
+
+#endif
+
 struct map_desc;
 struct meminfo;
 struct pglist_data;