Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=97ce9a8d6c9b50ea38f45d05a73fded2e0701ddf Commit: 97ce9a8d6c9b50ea38f45d05a73fded2e0701ddf Parent: 9f90a03a7f93be7f247aa902a7d962a56a6f600e Author: Nicolas Schichan <[EMAIL PROTECTED]> AuthorDate: Mon Aug 20 15:57:38 2007 +0200 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Mon Aug 27 02:16:59 2007 +0100
[MIPS] Unconditionally writeback and invalidate caches on kexec. Signed-off-by: Nicolas Schichan <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/kernel/machine_kexec.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c index 22960d6..85beb9b 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)(); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html