summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/hotplug.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-08-03 19:07:51 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:01 -0800
commiteebc91326681f02111bd463ef40d8f9286ee24bf (patch)
treefa7b043f636cd50ea3e334b42d237319fa44e7ee /arch/arm/mach-tegra/hotplug.c
parente6cb97db16e4eed8b56be29b0a7035866aa90d98 (diff)
ARM: tegra: power: Consolidate CPU context save and SMP exit
Every call to tegra_cpu_save is always followed by a call to tegra_cpu_exit_coherency. Simplify the callers of tegra_cpu_save by folding the CPU context save functionality of cpu_suspend and the coherency exit functionality into a single function called tegra_cpu_suspend. Change-Id: Ia71a663b2971685712d5b8a2b7e8b44fe1526f40 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Rebase-Id: R36c0c5f44608d0c099d928e19e36af2e7ba061d8
Diffstat (limited to 'arch/arm/mach-tegra/hotplug.c')
-rw-r--r--arch/arm/mach-tegra/hotplug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c
index 36fcf591bfe7..6fb618e7841b 100644
--- a/arch/arm/mach-tegra/hotplug.c
+++ b/arch/arm/mach-tegra/hotplug.c
@@ -73,10 +73,7 @@ void platform_cpu_die(unsigned int cpu)
tegra3_hotplug_shutdown();
#endif
- /*
- * tegra_cpu_suspend can return through tegra_cpu_resume, but that
- * should never happen for a hotplugged cpu
- */
+ /* Should never return here. */
BUG();
}