aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/mmu.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-06 16:15:56 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-01 11:41:02 -0400
commit40d192b63d079db1f76cec9ae8ccbf461fda23e4 (patch)
tree60ea8ec4390964e6f8d09b017f5c871c7ea85df0 /arch/arm/mm/mmu.c
parent3f69c0c1af288d6b124d0a928a33b51061ebf850 (diff)
[ARM] remove 'prot_pte_ext' from memory type table
This member is now redundant; the memory type is encoded in the Linux PTE bits. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r--arch/arm/mm/mmu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 04602288da2c..685dc1bf0083 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -418,8 +418,7 @@ static void __init alloc_init_pte(pmd_t *pmd, unsigned long addr,
418 418
419 pte = pte_offset_kernel(pmd, addr); 419 pte = pte_offset_kernel(pmd, addr);
420 do { 420 do {
421 set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)), 421 set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)), 0);
422 type->prot_pte_ext);
423 pfn++; 422 pfn++;
424 } while (pte++, addr += PAGE_SIZE, addr != end); 423 } while (pte++, addr += PAGE_SIZE, addr != end);
425} 424}