diff options
Diffstat (limited to 'arch/arm/mach-tegra/hotplug.c')
-rw-r--r-- | arch/arm/mach-tegra/hotplug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c index 6fb618e7841b..d44e457e7182 100644 --- a/arch/arm/mach-tegra/hotplug.c +++ b/arch/arm/mach-tegra/hotplug.c @@ -53,10 +53,10 @@ int platform_cpu_kill(unsigned int cpu) void platform_cpu_die(unsigned int cpu) { +#ifdef CONFIG_ARCH_TEGRA_2x_SOC /* Flush the L1 data cache. */ flush_cache_all(); -#ifdef CONFIG_ARCH_TEGRA_2x_SOC /* Place the current CPU in reset. */ tegra2_hotplug_shutdown(); #else @@ -69,6 +69,9 @@ void platform_cpu_die(unsigned int cpu) have affinity to this CPU. */ tegra_gic_pass_through_disable(); + /* Flush the L1 data cache. */ + flush_cache_all(); + /* Shut down the current CPU. */ tegra3_hotplug_shutdown(); #endif |