diff options
author | Magnus Damm <damm@opensource.se> | 2013-08-07 18:13:30 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-20 20:47:30 -0400 |
commit | 5c4dfcd663b6e96cc20f02dc2c7c315749ea1bc1 (patch) | |
tree | b2cde8cca0425eda4fd3f1d25e05e9489c178041 /arch/arm/mach-shmobile/platsmp.c | |
parent | cde214a890f81797a5eee94fffc89c1de21ed991 (diff) |
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/platsmp.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c index d4ae616bcedb..3741562156ed 100644 --- a/arch/arm/mach-shmobile/platsmp.c +++ b/arch/arm/mach-shmobile/platsmp.c | |||
@@ -44,3 +44,10 @@ void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) | |||
44 | shmobile_smp_arg[cpu] = arg; | 44 | shmobile_smp_arg[cpu] = arg; |
45 | flush_cache_all(); | 45 | flush_cache_all(); |
46 | } | 46 | } |
47 | |||
48 | #ifdef CONFIG_HOTPLUG_CPU | ||
49 | int shmobile_smp_cpu_disable(unsigned int cpu) | ||
50 | { | ||
51 | return 0; /* Hotplug of any CPU is supported */ | ||
52 | } | ||
53 | #endif | ||