[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>
This commit is contained in:
parent
9f90a03a7f
commit
97ce9a8d6c
|
@ -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)();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue