projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0305ffd
)
ARM: 7741/1: mcpm_platsmp.c: remove empty smp_init_cpus method
author
Nicolas Pitre
<nicolas.pitre@linaro.org>
Fri, 31 May 2013 04:24:03 +0000
(
05:24
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 5 Jun 2013 22:58:10 +0000
(23:58 +0100)
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>
arch/arm/common/mcpm_platsmp.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/mcpm_platsmp.c
b/arch/arm/common/mcpm_platsmp.c
index 3caed0db698614f45652476595ed54b42de54ffc..510e5b13aa2e2a4e65c01de1ce9a82635b01bce4 100644
(file)
--- a/
arch/arm/common/mcpm_platsmp.c
+++ b/
arch/arm/common/mcpm_platsmp.c
@@
-19,10
+19,6
@@
#include <asm/smp.h>
#include <asm/smp_plat.h>
-static void __init simple_smp_init_cpus(void)
-{
-}
-
static int __cpuinit mcpm_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
unsigned int mpidr, pcpu, pcluster, ret;
@@
-74,7
+70,6
@@
static void mcpm_cpu_die(unsigned int cpu)
#endif
static struct smp_operations __initdata mcpm_smp_ops = {
- .smp_init_cpus = simple_smp_init_cpus,
.smp_boot_secondary = mcpm_boot_secondary,
.smp_secondary_init = mcpm_secondary_init,
#ifdef CONFIG_HOTPLUG_CPU