From: Michael Gernoth Date: Mon, 23 May 2011 21:58:21 +0000 (+0200) Subject: depend on CONFIG_OUTER_CACHE X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-kexec/commitdiff_plain/74ed2903d87f733bdc22cb7996a7ee012705a5e4 depend on CONFIG_OUTER_CACHE --- diff --git a/machine_kexec.c b/machine_kexec.c index 531120f..e38af78 100644 --- a/machine_kexec.c +++ b/machine_kexec.c @@ -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();