projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200b7a8
)
ARM: 5885/1: arm: Flush TLB entries in setup_mm_for_reboot()
author
Tony Lindgren
<tony@atomide.com>
Tue, 19 Jan 2010 15:42:12 +0000
(16:42 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 19 Jan 2010 20:23:17 +0000
(20:23 +0000)
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>
arch/arm/mm/mmu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/mmu.c
b/arch/arm/mm/mmu.c
index 1708da82da96c127267b8edc59f916a0bec6a286..761ffede6a23a9027bd6d805a7fdb8d5e674c7ec 100644
(file)
--- 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();
}