aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-21 06:30:36 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-22 06:05:33 -0500
commit26bbf0b57a0848932f725076bcb1245ca696e8d3 (patch)
treeb55a13203002c0d0295ecacd1fc4883ffcc9240c /arch/arm/kernel
parentd30e45eeabefadc6039d7f876a59e5f5f6cb11c6 (diff)
ARM: pgtable: remove L2 cache flushes for SMP page table bring-up
The MMU is always configured to read page tables from the L2 cache so there's little point flushing them out of the L2 cache back to RAM. Remove these flushes. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/smp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 8c1959590252..46313805f430 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -85,7 +85,6 @@ static inline void identity_mapping_add(pgd_t *pgd, unsigned long start,
85 pmd[1] = __pmd(addr | prot); 85 pmd[1] = __pmd(addr | prot);
86 addr += SECTION_SIZE; 86 addr += SECTION_SIZE;
87 flush_pmd_entry(pmd); 87 flush_pmd_entry(pmd);
88 outer_clean_range(__pa(pmd), __pa(pmd + 1));
89 } 88 }
90} 89}
91 90
@@ -100,7 +99,6 @@ static inline void identity_mapping_del(pgd_t *pgd, unsigned long start,
100 pmd[0] = __pmd(0); 99 pmd[0] = __pmd(0);
101 pmd[1] = __pmd(0); 100 pmd[1] = __pmd(0);
102 clean_pmd_entry(pmd); 101 clean_pmd_entry(pmd);
103 outer_clean_range(__pa(pmd), __pa(pmd + 1));
104 } 102 }
105} 103}
106 104