diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-05-21 12:13:35 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-05-28 23:26:07 +0200 |
commit | 510bb595de26f90e5bb7c4a1e2a584e38398cf00 (patch) | |
tree | 1a0cb9b73611ccb4583532def3cc425b0a30c820 /arch/arm/mach-tegra/common.h | |
parent | ARM: tegra114: add CPU hotplug support (diff) | |
download | linux-510bb595de26f90e5bb7c4a1e2a584e38398cf00.tar.xz linux-510bb595de26f90e5bb7c4a1e2a584e38398cf00.zip |
ARM: tegra: add cpu_disable for hotplug
The Tegra114 could hotplug the CPU0, but the common cpu_disable didn't
support that. Adding a Tegra specific cpu_disable function for it.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
[swarren: adjusted the switch statement to be future-proof]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.h')
-rw-r--r-- | arch/arm/mach-tegra/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.h b/arch/arm/mach-tegra/common.h index 5900cc44f780..32f8eb3fe344 100644 --- a/arch/arm/mach-tegra/common.h +++ b/arch/arm/mach-tegra/common.h @@ -2,3 +2,4 @@ extern struct smp_operations tegra_smp_ops; extern int tegra_cpu_kill(unsigned int cpu); extern void tegra_cpu_die(unsigned int cpu); +extern int tegra_cpu_disable(unsigned int cpu); |