aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/hotplug.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-04-18 18:04:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-04-18 18:04:09 +0100
commitda2265b130f6b5be3b874bb2832335887fe59461 (patch)
treea392a1578760b1b2a160241cc449c91fad5c3daf /arch/arm/mach-tegra/hotplug.c
parentLinux 3.9-rc7 (diff)
downloadlinux-dev-da2265b130f6b5be3b874bb2832335887fe59461.tar.xz
linux-dev-da2265b130f6b5be3b874bb2832335887fe59461.zip
ARM: tegra: remove tegra specific cpu_disable()
The tegra cpu_disable() function is the same as the generic version in arch/arm/kernel/smp.c. Therefore, it can be removed. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-tegra/hotplug.c')
-rw-r--r--arch/arm/mach-tegra/hotplug.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c
index a599f6e36dea..1fb9915f7895 100644
--- a/arch/arm/mach-tegra/hotplug.c
+++ b/arch/arm/mach-tegra/hotplug.c
@@ -47,15 +47,6 @@ void __ref tegra_cpu_die(unsigned int cpu)
BUG();
}
-int tegra_cpu_disable(unsigned int cpu)
-{
- /*
- * we don't allow CPU 0 to be shutdown (it is still too special
- * e.g. clock tick interrupts)
- */
- return cpu == 0 ? -EPERM : 0;
-}
-
#ifdef CONFIG_ARCH_TEGRA_2x_SOC
extern void tegra20_hotplug_shutdown(void);
void __init tegra20_hotplug_init(void)