]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mm/mmu.c
Add MT_MEMORY_SO, mark L3 and L4 to use it
[linux-2.6-omap-h63xx.git] / arch / arm / mm / mmu.c
index a713e40e1f1a718549f333327c0f1a234e38a12c..d5f25ad5cd4e2dd40f7162f4f2b386546d31145a 100644 (file)
@@ -245,6 +245,10 @@ static struct mem_type mem_types[] = {
                .prot_sect = PMD_TYPE_SECT,
                .domain    = DOMAIN_KERNEL,
        },
+       [MT_MEMORY_SO] = {
+               .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_UNCACHED,
+               .domain    = DOMAIN_KERNEL,
+       },
 };
 
 const struct mem_type *get_mem_type(unsigned int type)