aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-01-19 16:42:12 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-01-19 20:23:17 +0000
commitad3e6c0b1fad31282a8384903ed811671d840a9c (patch)
treecc2ea5a7f713c3b0684515ad24ab23aa8f491c71 /arch
parent200b7a8dc09504bc0aedac567a307a6e533f39e5 (diff)
downloadkernel_samsung_tuna-ad3e6c0b1fad31282a8384903ed811671d840a9c.zip
kernel_samsung_tuna-ad3e6c0b1fad31282a8384903ed811671d840a9c.tar.gz
kernel_samsung_tuna-ad3e6c0b1fad31282a8384903ed811671d840a9c.tar.bz2
ARM: 5885/1: arm: Flush TLB entries in setup_mm_for_reboot()
We need to do that if we tinker with the MMU entries. This fixes the occasional bug with kexec where the new fails to uncompress with "crc error". Most likely at least kexec on v6 and v7 need this fix. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/mmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 1708da8..761ffed 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -1067,4 +1067,6 @@ void setup_mm_for_reboot(char mode)
pmd[1] = __pmd(pmdval + (1 << (PGDIR_SHIFT - 1)));
flush_pmd_entry(pmd);
}
+
+ local_flush_tlb_all();
}