summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/machine_kexec.c
diff options
context:
space:
mode:
authorNicolas Schichan <nschichan@freebox.fr>2007-08-20 15:57:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-08-27 02:16:59 +0100
commit97ce9a8d6c9b50ea38f45d05a73fded2e0701ddf (patch)
treea47cf403fcc3e2bcd622e68cd2238f3d56907543 /arch/mips/kernel/machine_kexec.c
parent9f90a03a7f93be7f247aa902a7d962a56a6f600e (diff)
[MIPS] Unconditionally writeback and invalidate caches on kexec.
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/machine_kexec.c')
-rw-r--r--arch/mips/kernel/machine_kexec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c
index 22960d67cf07..85beb9b0b2d0 100644
--- a/arch/mips/kernel/machine_kexec.c
+++ b/arch/mips/kernel/machine_kexec.c
@@ -78,11 +78,8 @@ machine_kexec(struct kimage *image)
*/
local_irq_disable();
- flush_icache_range(reboot_code_buffer,
- reboot_code_buffer + KEXEC_CONTROL_CODE_SIZE);
-
printk("Will call new kernel at %08lx\n", image->start);
printk("Bye ...\n");
- flush_cache_all();
+ __flush_cache_all();
((noretfun_t) reboot_code_buffer)();
}