From 08b30e31304a0fd8635631e692eaff5ce621c51e Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Tue, 19 Jul 2011 15:13:40 -0700 Subject: ARM: tegra2: Don't use tegra_cpu_save to exit coherency on reset Change tegra2_sleep_reset not to depend on tegra_cpu_save to exit coherency. Now tegra2_sleep_reset no longer depends on CONFIG_PM_SLEEP Change-Id: I478e723e826fd3ddbd6a6e8bceaedf795bd2ee26 Signed-off-by: Scott Williams DW: Split into logical changes Signed-off-by: Dan Willemsen Rebase-Id: R2138dcf60971f7a9ad78e6a39fc2206c99faf7b5 --- arch/arm/mach-tegra/hotplug.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-tegra/hotplug.c') diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c index cde2659451ae..88c664f7dfad 100644 --- a/arch/arm/mach-tegra/hotplug.c +++ b/arch/arm/mach-tegra/hotplug.c @@ -1,7 +1,7 @@ /* - * linux/arch/arm/mach-tegra/hotplug.c + * arch/arm/mach-tegra/hotplug.c * - * Copyright (C) 2010 NVIDIA Corporation + * Copyright (C) 2010-2011 NVIDIA Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -12,6 +12,7 @@ #include #include +#include #include @@ -51,7 +52,11 @@ int platform_cpu_kill(unsigned int cpu) void platform_cpu_die(unsigned int cpu) { + /* Flush the L1 data cache. */ + flush_cache_all(); + #ifdef CONFIG_ARCH_TEGRA_2x_SOC + /* Place the current CPU in reset. */ tegra2_sleep_reset(); #endif -- cgit v1.2.3