Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97ce9a8d authored by Nicolas Schichan's avatar Nicolas Schichan Committed by Ralf Baechle
Browse files

[MIPS] Unconditionally writeback and invalidate caches on kexec.

parent 9f90a03a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)();
}