extern void setup_mm_for_reboot(char mode);
+extern void v7_flush_kern_cache_all(void);
+
extern unsigned long kexec_start_address;
extern unsigned long kexec_indirection_page;
extern unsigned long kexec_mach_type;
printk(KERN_DEBUG "CPU %u will stop doing anything useful since another CPU has crashed\n",
smp_processor_id());
crash_save_cpu(®s, smp_processor_id());
- flush_cache_all();
+ v7_flush_kern_cache_all();
atomic_dec(&waiting_for_crash_ipi);
while (1)
unsigned long reboot_code_buffer_phys;
void *reboot_code_buffer;
-
page_list = image->head & PAGE_MASK;
/* we need both effective and real address here */
local_irq_disable();
local_fiq_disable();
setup_mm_for_reboot(0); /* mode is not used, so just pass 0*/
- flush_cache_all();
-#if 0
+ v7_flush_kern_cache_all();
+#ifdef CONFIG_OUTER_CACHE
outer_flush_all();
outer_disable();
#endif
cpu_proc_fin();
-#if 0
+#ifdef CONFIG_OUTER_CACHE
outer_inv_all();
#endif
- flush_cache_all();
+ //v7_flush_kern_cache_all();
cpu_reset(reboot_code_buffer_phys);
}