ARM: tegra: power: Flush L1 to hot unplug CPU
Bo Yan [Wed, 16 May 2012 19:59:22 +0000 (12:59 -0700)]
This will ensure only L1 is flushed when hot unplugging non-boot
CPUs for CortexA15

Change-Id: Id78f801e5501d34dd43618179440adcf47666739
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/102881
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R37219dc63b66ffaee6bc866e403d1da509464142

arch/arm/mach-tegra/hotplug.c

index 7d8bf51..61c71ef 100644 (file)
@@ -63,7 +63,7 @@ void tegra_cpu_die(unsigned int cpu)
 #endif
 
        /* Flush the L1 data cache. */
-       flush_cache_all();
+       tegra_flush_l1_cache();
 
        /* Shut down the current CPU. */
        tegra_hotplug_shutdown();