diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-05-31 00:24:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-05 18:58:10 -0400 |
commit | 6c93dd438aad39c60630dbe47fde8193c845f8b8 (patch) | |
tree | 45b00d369ffdef4e90189de87e74f60d58ae44da /arch/arm/common/mcpm_platsmp.c | |
parent | 0305ffd7536270befc3e772bb978a6e3c6d37150 (diff) |
ARM: 7741/1: mcpm_platsmp.c: remove empty smp_init_cpus method
The smp_init_cpus method in the smp_operations structure is optional
and can be omitted entirely.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/mcpm_platsmp.c')
-rw-r--r-- | arch/arm/common/mcpm_platsmp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/common/mcpm_platsmp.c b/arch/arm/common/mcpm_platsmp.c index 3caed0db6986..510e5b13aa2e 100644 --- a/arch/arm/common/mcpm_platsmp.c +++ b/arch/arm/common/mcpm_platsmp.c | |||
@@ -19,10 +19,6 @@ | |||
19 | #include <asm/smp.h> | 19 | #include <asm/smp.h> |
20 | #include <asm/smp_plat.h> | 20 | #include <asm/smp_plat.h> |
21 | 21 | ||
22 | static void __init simple_smp_init_cpus(void) | ||
23 | { | ||
24 | } | ||
25 | |||
26 | static int __cpuinit mcpm_boot_secondary(unsigned int cpu, struct task_struct *idle) | 22 | static int __cpuinit mcpm_boot_secondary(unsigned int cpu, struct task_struct *idle) |
27 | { | 23 | { |
28 | unsigned int mpidr, pcpu, pcluster, ret; | 24 | unsigned int mpidr, pcpu, pcluster, ret; |
@@ -74,7 +70,6 @@ static void mcpm_cpu_die(unsigned int cpu) | |||
74 | #endif | 70 | #endif |
75 | 71 | ||
76 | static struct smp_operations __initdata mcpm_smp_ops = { | 72 | static struct smp_operations __initdata mcpm_smp_ops = { |
77 | .smp_init_cpus = simple_smp_init_cpus, | ||
78 | .smp_boot_secondary = mcpm_boot_secondary, | 73 | .smp_boot_secondary = mcpm_boot_secondary, |
79 | .smp_secondary_init = mcpm_secondary_init, | 74 | .smp_secondary_init = mcpm_secondary_init, |
80 | #ifdef CONFIG_HOTPLUG_CPU | 75 | #ifdef CONFIG_HOTPLUG_CPU |