]> git.zerfleddert.de Git - ms2-kexec/commitdiff
depend on CONFIG_OUTER_CACHE
authorMichael Gernoth <michael@gernoth.net>
Mon, 23 May 2011 21:58:21 +0000 (23:58 +0200)
committerMichael Gernoth <michael@gernoth.net>
Mon, 23 May 2011 21:58:21 +0000 (23:58 +0200)
machine_kexec.c

index 531120f6769ec3ed24b409b365f4fcb56b636e96..e38af78492d4fed325055f3ee0167aed838ec777 100644 (file)
@@ -115,12 +115,12 @@ void machine_kexec(struct kimage *image)
        local_fiq_disable();
        setup_mm_for_reboot(0); /* mode is not used, so just pass 0*/
        flush_cache_all();
-#if 0
+#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();
Impressum, Datenschutz