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>2012-03-22 23:27:27 -0700
commit8d9a5329c382e45cd113666c486ad532a5a65ea1 (patch)
treef21259180cca9726a7c51283c6e37a7fd02d3771 /arch/arm/mach-tegra/hotplug.c
parent2026ed3b77661674331d2d579ff54ff17fcd1a81 (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 8559661319c3..5ff02efe5be6 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();
}