提交 97ce9a8d 编写于 作者: N Nicolas Schichan 提交者: Ralf Baechle

[MIPS] Unconditionally writeback and invalidate caches on kexec.

Signed-off-by: NNicolas Schichan <nschichan@freebox.fr>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 9f90a03a
......@@ -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)();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册