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:
9f90a03
)
[MIPS] Unconditionally writeback and invalidate caches on kexec.
author
Nicolas Schichan
<nschichan@freebox.fr>
Mon, 20 Aug 2007 13:57:38 +0000
(15:57 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:59 +0000
(
02:16
+0100)
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/machine_kexec.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/machine_kexec.c
b/arch/mips/kernel/machine_kexec.c
index 22960d67cf07c29a6340be7c542b31b98f7ca2aa..85beb9b0b2d0122832017e1d73387f63a8d5d956 100644
(file)
--- 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)();
}