MIPS: Outline udelay and fix a few issues.
[linux-drm-fsl-dcu.git] / arch / mips / kernel / machine_kexec.c
index 22960d67cf07c29a6340be7c542b31b98f7ca2aa..85beb9b0b2d0122832017e1d73387f63a8d5d956 100644 (file)
@@ -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)();
 }