diff options
author | Magnus Damm <damm@opensource.se> | 2011-12-28 02:47:16 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-08 20:37:24 -0500 |
commit | 8b306796995609c281f6d32b3cbaa814551ad5ac (patch) | |
tree | cc15f092c9493d58004920855ac76fa691e71bd8 /arch/arm/mach-shmobile/platsmp.c | |
parent | f0eab3889e4b5b71e1609c9850f652f06a812cf5 (diff) |
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/platsmp.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c index c49a833bf9bb..3f3325d4206d 100644 --- a/arch/arm/mach-shmobile/platsmp.c +++ b/arch/arm/mach-shmobile/platsmp.c | |||
@@ -37,6 +37,11 @@ static void __init shmobile_smp_prepare_cpus(void) | |||
37 | sh73a0_smp_prepare_cpus(); | 37 | sh73a0_smp_prepare_cpus(); |
38 | } | 38 | } |
39 | 39 | ||
40 | int shmobile_platform_cpu_kill(unsigned int cpu) | ||
41 | { | ||
42 | return 1; | ||
43 | } | ||
44 | |||
40 | void __cpuinit platform_secondary_init(unsigned int cpu) | 45 | void __cpuinit platform_secondary_init(unsigned int cpu) |
41 | { | 46 | { |
42 | trace_hardirqs_off(); | 47 | trace_hardirqs_off(); |