diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-07-19 11:25:23 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-07-19 18:00:37 +0200 |
commit | a99d34b506f746e607c96767d616553a5cc14758 (patch) | |
tree | 2ef5a70b55f2c1af2ad801c5820184fae3bf765e /arch/arm/mach-tegra/hotplug.c | |
parent | ARM: tegra: enable Cortex-A15 erratum 798181 (diff) | |
download | linux-a99d34b506f746e607c96767d616553a5cc14758.tar.xz linux-a99d34b506f746e607c96767d616553a5cc14758.zip |
Revert "ARM: tegra: add cpu_disable for hotplug"
This reverts commit 510bb59 "ARM: tegra: add cpu_disable for hotplug".
The Tegra114 support CPU0 hotplug function in HW physically, but it needs
other software to make it work normally after we add CPU idle power down
mode support. So remove them for now.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/hotplug.c')
-rw-r--r-- | arch/arm/mach-tegra/hotplug.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c index a52c10e0a857..d07f152b275f 100644 --- a/arch/arm/mach-tegra/hotplug.c +++ b/arch/arm/mach-tegra/hotplug.c @@ -46,17 +46,6 @@ void __ref tegra_cpu_die(unsigned int cpu) BUG(); } -int tegra_cpu_disable(unsigned int cpu) -{ - switch (tegra_chip_id) { - case TEGRA20: - case TEGRA30: - return cpu == 0 ? -EPERM : 0; - default: - return 0; - } -} - void __init tegra_hotplug_init(void) { if (!IS_ENABLED(CONFIG_HOTPLUG_CPU)) |