summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/hotplug.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-12-28 16:47:16 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-01-09 10:37:24 +0900
commit8b306796995609c281f6d32b3cbaa814551ad5ac (patch)
treecc15f092c9493d58004920855ac76fa691e71bd8 /arch/arm/mach-shmobile/hotplug.c
parentf0eab3889e4b5b71e1609c9850f652f06a812cf5 (diff)
downloadop-kernel-dev-8b306796995609c281f6d32b3cbaa814551ad5ac.zip
op-kernel-dev-8b306796995609c281f6d32b3cbaa814551ad5ac.tar.gz
ARM: mach-shmobile: Allow SoC specific CPU kill code
Add the function shmobile_platform_kill_cpu() to allow SoC specific code to tie in their CPU shutdown code. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/hotplug.c')
-rw-r--r--arch/arm/mach-shmobile/hotplug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/hotplug.c b/arch/arm/mach-shmobile/hotplug.c
index 238a0d9..aee3a10 100644
--- a/arch/arm/mach-shmobile/hotplug.c
+++ b/arch/arm/mach-shmobile/hotplug.c
@@ -12,10 +12,11 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/smp.h>
+#include <mach/common.h>
int platform_cpu_kill(unsigned int cpu)
{
- return 1;
+ return shmobile_platform_cpu_kill(cpu);
}
void platform_cpu_die(unsigned int cpu)
OpenPOWER on IntegriCloud