File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020#include <linux/jiffies.h>
2121#include <linux/smp.h>
2222#include <linux/io.h>
23- #include <linux/irqchip/arm-gic.h>
2423
2524#include <asm/cacheflush.h>
2625#include <asm/smp_plat.h>
@@ -75,13 +74,6 @@ static DEFINE_SPINLOCK(boot_lock);
7574
7675static void __cpuinit exynos_secondary_init (unsigned int cpu )
7776{
78- /*
79- * if any interrupts are already enabled for the primary
80- * core (e.g. timer irq), then they will not have been enabled
81- * for us: do so
82- */
83- gic_secondary_init (0 );
84-
8577 /*
8678 * let the primary processor know we're out of the
8779 * pen, then head off into the C entry point
Original file line number Diff line number Diff line change 1717#include <linux/init.h>
1818#include <linux/smp.h>
1919#include <linux/io.h>
20- #include <linux/irqchip/arm-gic.h>
2120
2221#include <asm/smp_scu.h>
2322
2423#include "core.h"
2524
2625extern void secondary_startup (void );
2726
28- static void __cpuinit highbank_secondary_init (unsigned int cpu )
29- {
30- gic_secondary_init (0 );
31- }
32-
3327static int __cpuinit highbank_boot_secondary (unsigned int cpu , struct task_struct * idle )
3428{
3529 highbank_set_cpu_jump (cpu , secondary_startup );
@@ -67,7 +61,6 @@ static void __init highbank_smp_prepare_cpus(unsigned int max_cpus)
6761struct smp_operations highbank_smp_ops __initdata = {
6862 .smp_init_cpus = highbank_smp_init_cpus ,
6963 .smp_prepare_cpus = highbank_smp_prepare_cpus ,
70- .smp_secondary_init = highbank_secondary_init ,
7164 .smp_boot_secondary = highbank_boot_secondary ,
7265#ifdef CONFIG_HOTPLUG_CPU
7366 .cpu_die = highbank_cpu_die ,
Original file line number Diff line number Diff line change 1212
1313#include <linux/init.h>
1414#include <linux/smp.h>
15- #include <linux/irqchip/arm-gic.h>
1615#include <asm/page.h>
1716#include <asm/smp_scu.h>
1817#include <asm/mach/map.h>
@@ -52,16 +51,6 @@ void imx_scu_standby_enable(void)
5251 writel_relaxed (val , scu_base );
5352}
5453
55- static void __cpuinit imx_secondary_init (unsigned int cpu )
56- {
57- /*
58- * if any interrupts are already enabled for the primary
59- * core (e.g. timer irq), then they will not have been enabled
60- * for us: do so
61- */
62- gic_secondary_init (0 );
63- }
64-
6554static int __cpuinit imx_boot_secondary (unsigned int cpu , struct task_struct * idle )
6655{
6756 imx_set_cpu_jump (cpu , v7_secondary_startup );
@@ -96,7 +85,6 @@ static void __init imx_smp_prepare_cpus(unsigned int max_cpus)
9685struct smp_operations imx_smp_ops __initdata = {
9786 .smp_init_cpus = imx_smp_init_cpus ,
9887 .smp_prepare_cpus = imx_smp_prepare_cpus ,
99- .smp_secondary_init = imx_secondary_init ,
10088 .smp_boot_secondary = imx_boot_secondary ,
10189#ifdef CONFIG_HOTPLUG_CPU
10290 .cpu_die = imx_cpu_die ,
Original file line number Diff line number Diff line change 1515#include <linux/jiffies.h>
1616#include <linux/smp.h>
1717#include <linux/io.h>
18- #include <linux/irqchip/arm-gic.h>
1918
2019#include <asm/cacheflush.h>
2120#include <asm/cputype.h>
@@ -41,13 +40,6 @@ static inline int get_core_count(void)
4140
4241static void __cpuinit msm_secondary_init (unsigned int cpu )
4342{
44- /*
45- * if any interrupts are already enabled for the primary
46- * core (e.g. timer irq), then they will not have been enabled
47- * for us: do so
48- */
49- gic_secondary_init (0 );
50-
5143 /*
5244 * let the primary processor know we're out of the
5345 * pen, then head off into the C entry point
Original file line number Diff line number Diff line change @@ -66,13 +66,6 @@ static void __cpuinit omap4_secondary_init(unsigned int cpu)
6666 omap_secure_dispatcher (OMAP4_PPA_CPU_ACTRL_SMP_INDEX ,
6767 4 , 0 , 0 , 0 , 0 , 0 );
6868
69- /*
70- * If any interrupts are already enabled for the primary
71- * core (e.g. timer irq), then they will not have been enabled
72- * for us: do so
73- */
74- gic_secondary_init (0 );
75-
7669 /*
7770 * Synchronise with the boot thread.
7871 */
Original file line number Diff line number Diff line change 1111#include <linux/delay.h>
1212#include <linux/of.h>
1313#include <linux/of_address.h>
14- #include <linux/irqchip/arm-gic.h>
1514#include <asm/page.h>
1615#include <asm/mach/map.h>
1716#include <asm/smp_plat.h>
@@ -48,13 +47,6 @@ void __init sirfsoc_map_scu(void)
4847
4948static void __cpuinit sirfsoc_secondary_init (unsigned int cpu )
5049{
51- /*
52- * if any interrupts are already enabled for the primary
53- * core (e.g. timer irq), then they will not have been enabled
54- * for us: do so
55- */
56- gic_secondary_init (0 );
57-
5850 /*
5951 * let the primary processor know we're out of the
6052 * pen, then head off into the C entry point
Original file line number Diff line number Diff line change 2323#include <linux/spinlock.h>
2424#include <linux/io.h>
2525#include <linux/delay.h>
26- #include <linux/irqchip/arm-gic.h>
2726#include <mach/common.h>
2827#include <mach/emev2.h>
2928#include <asm/smp_plat.h>
@@ -85,11 +84,6 @@ static int __maybe_unused emev2_cpu_kill(unsigned int cpu)
8584}
8685
8786
88- static void __cpuinit emev2_secondary_init (unsigned int cpu )
89- {
90- gic_secondary_init (0 );
91- }
92-
9387static int __cpuinit emev2_boot_secondary (unsigned int cpu , struct task_struct * idle )
9488{
9589 cpu = cpu_logical_map (cpu );
@@ -124,7 +118,6 @@ static void __init emev2_smp_init_cpus(void)
124118struct smp_operations emev2_smp_ops __initdata = {
125119 .smp_init_cpus = emev2_smp_init_cpus ,
126120 .smp_prepare_cpus = emev2_smp_prepare_cpus ,
127- .smp_secondary_init = emev2_secondary_init ,
128121 .smp_boot_secondary = emev2_boot_secondary ,
129122#ifdef CONFIG_HOTPLUG_CPU
130123 .cpu_kill = emev2_cpu_kill ,
Original file line number Diff line number Diff line change 2323#include <linux/spinlock.h>
2424#include <linux/io.h>
2525#include <linux/delay.h>
26- #include <linux/irqchip/arm-gic.h>
2726#include <mach/common.h>
2827#include <mach/r8a7779.h>
2928#include <asm/smp_plat.h>
@@ -132,11 +131,6 @@ static int __maybe_unused r8a7779_cpu_kill(unsigned int cpu)
132131}
133132
134133
135- static void __cpuinit r8a7779_secondary_init (unsigned int cpu )
136- {
137- gic_secondary_init (0 );
138- }
139-
140134static int __cpuinit r8a7779_boot_secondary (unsigned int cpu , struct task_struct * idle )
141135{
142136 struct r8a7779_pm_ch * ch = NULL ;
@@ -186,7 +180,6 @@ static void __init r8a7779_smp_init_cpus(void)
186180struct smp_operations r8a7779_smp_ops __initdata = {
187181 .smp_init_cpus = r8a7779_smp_init_cpus ,
188182 .smp_prepare_cpus = r8a7779_smp_prepare_cpus ,
189- .smp_secondary_init = r8a7779_secondary_init ,
190183 .smp_boot_secondary = r8a7779_boot_secondary ,
191184#ifdef CONFIG_HOTPLUG_CPU
192185 .cpu_kill = r8a7779_cpu_kill ,
Original file line number Diff line number Diff line change 2323#include <linux/spinlock.h>
2424#include <linux/io.h>
2525#include <linux/delay.h>
26- #include <linux/irqchip/arm-gic.h>
2726#include <mach/common.h>
2827#include <asm/cacheflush.h>
2928#include <asm/smp_plat.h>
@@ -59,11 +58,6 @@ static unsigned int __init sh73a0_get_core_count(void)
5958 return scu_get_core_count (scu_base );
6059}
6160
62- static void __cpuinit sh73a0_secondary_init (unsigned int cpu )
63- {
64- gic_secondary_init (0 );
65- }
66-
6761static int __cpuinit sh73a0_boot_secondary (unsigned int cpu , struct task_struct * idle )
6862{
6963 cpu = cpu_logical_map (cpu );
@@ -138,7 +132,6 @@ static void sh73a0_cpu_die(unsigned int cpu)
138132struct smp_operations sh73a0_smp_ops __initdata = {
139133 .smp_init_cpus = sh73a0_smp_init_cpus ,
140134 .smp_prepare_cpus = sh73a0_smp_prepare_cpus ,
141- .smp_secondary_init = sh73a0_secondary_init ,
142135 .smp_boot_secondary = sh73a0_boot_secondary ,
143136#ifdef CONFIG_HOTPLUG_CPU
144137 .cpu_kill = sh73a0_cpu_kill ,
Original file line number Diff line number Diff line change 2222#include <linux/io.h>
2323#include <linux/of.h>
2424#include <linux/of_address.h>
25- #include <linux/irqchip/arm-gic.h>
2625
2726#include <asm/cacheflush.h>
2827#include <asm/smp_scu.h>
3332extern void __iomem * sys_manager_base_addr ;
3433extern void __iomem * rst_manager_base_addr ;
3534
36- static void __cpuinit socfpga_secondary_init (unsigned int cpu )
37- {
38- /*
39- * if any interrupts are already enabled for the primary
40- * core (e.g. timer irq), then they will not have been enabled
41- * for us: do so
42- */
43- gic_secondary_init (0 );
44- }
45-
4635static int __cpuinit socfpga_boot_secondary (unsigned int cpu , struct task_struct * idle )
4736{
4837 int trampoline_size = & secondary_trampoline_end - & secondary_trampoline ;
@@ -109,7 +98,6 @@ static void socfpga_cpu_die(unsigned int cpu)
10998struct smp_operations socfpga_smp_ops __initdata = {
11099 .smp_init_cpus = socfpga_smp_init_cpus ,
111100 .smp_prepare_cpus = socfpga_smp_prepare_cpus ,
112- .smp_secondary_init = socfpga_secondary_init ,
113101 .smp_boot_secondary = socfpga_boot_secondary ,
114102#ifdef CONFIG_HOTPLUG_CPU
115103 .cpu_die = socfpga_cpu_die ,
You can’t perform that action at this time.
0 commit comments