diff options
author | Magnus Damm <damm@opensource.se> | 2013-08-08 07:13:30 +0900 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-20 17:47:30 -0700 |
commit | 5c4dfcd663b6e96cc20f02dc2c7c315749ea1bc1 (patch) | |
tree | b2cde8cca0425eda4fd3f1d25e05e9489c178041 /arch/arm/mach-shmobile/include/mach/common.h | |
parent | cde214a890f81797a5eee94fffc89c1de21ed991 (diff) | |
download | linux-rt-5c4dfcd663b6e96cc20f02dc2c7c315749ea1bc1.tar.gz |
ARM: shmobile: Introduce shmobile_smp_cpu_disable()
Introduce the shared CPU Hotplug function shmobile_smp_cpu_disable()
for mach-shmobile. It is useful for the case when all CPUs may be
hotplugged, including CPU 0.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/common.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index 7b938681e756..1ed155eb3e92 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h @@ -13,6 +13,7 @@ extern void shmobile_smp_boot(void); extern void shmobile_smp_sleep(void); extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg); +extern int shmobile_smp_cpu_disable(unsigned int cpu); extern void shmobile_boot_scu(void); extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, |