diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 12:59:19 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 12:59:19 -0400 |
commit | 797b3a9ee790e8de2a34d427de96a1bb560fe0db (patch) | |
tree | dcc58ac1a966294b010521def7296d428f858583 /arch/arm/mach-zynq | |
parent | c985d7e325fd5c2bf78de2f705f6001bce143a26 (diff) | |
parent | bc895b5987dd5fad89c0e9693b38104679b647c4 (diff) |
Merge branch 'gic/cleanup' into next/soc2
Both zynq and shmobile have conflicts against the gic cleanup
series, resolved here.
Conflicts:
arch/arm/mach-shmobile/smp-emev2.c
arch/arm/mach-shmobile/smp-r8a7779.c
arch/arm/mach-shmobile/smp-sh73a0.c
arch/arm/mach-zynq/platsmp.c
drivers/gpio/gpio-pl061.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r-- | arch/arm/mach-zynq/platsmp.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-zynq/platsmp.c b/arch/arm/mach-zynq/platsmp.c index 3072cbd7ec6f..5fc167e07619 100644 --- a/arch/arm/mach-zynq/platsmp.c +++ b/arch/arm/mach-zynq/platsmp.c | |||
@@ -34,21 +34,6 @@ | |||
34 | */ | 34 | */ |
35 | static int ncores; | 35 | static int ncores; |
36 | 36 | ||
37 | /* Secondary CPU kernel startup is a 2 step process. The primary CPU | ||
38 | * starts the secondary CPU by giving it the address of the kernel and | ||
39 | * then sending it an event to wake it up. The secondary CPU then | ||
40 | * starts the kernel and tells the primary CPU it's up and running. | ||
41 | */ | ||
42 | static void __cpuinit zynq_secondary_init(unsigned int cpu) | ||
43 | { | ||
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 | } | ||
51 | |||
52 | int __cpuinit zynq_cpun_start(u32 address, int cpu) | 37 | int __cpuinit zynq_cpun_start(u32 address, int cpu) |
53 | { | 38 | { |
54 | u32 trampoline_code_size = &zynq_secondary_trampoline_end - | 39 | u32 trampoline_code_size = &zynq_secondary_trampoline_end - |
@@ -144,7 +129,6 @@ static void __init zynq_smp_prepare_cpus(unsigned int max_cpus) | |||
144 | struct smp_operations zynq_smp_ops __initdata = { | 129 | struct smp_operations zynq_smp_ops __initdata = { |
145 | .smp_init_cpus = zynq_smp_init_cpus, | 130 | .smp_init_cpus = zynq_smp_init_cpus, |
146 | .smp_prepare_cpus = zynq_smp_prepare_cpus, | 131 | .smp_prepare_cpus = zynq_smp_prepare_cpus, |
147 | .smp_secondary_init = zynq_secondary_init, | ||
148 | .smp_boot_secondary = zynq_boot_secondary, | 132 | .smp_boot_secondary = zynq_boot_secondary, |
149 | #ifdef CONFIG_HOTPLUG_CPU | 133 | #ifdef CONFIG_HOTPLUG_CPU |
150 | .cpu_die = zynq_platform_cpu_die, | 134 | .cpu_die = zynq_platform_cpu_die, |