From 74ed2903d87f733bdc22cb7996a7ee012705a5e4 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 23 May 2011 23:58:21 +0200 Subject: [PATCH 1/1] depend on CONFIG_OUTER_CACHE --- machine_kexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5