diff options
author | Jason Cooper <jason@lakedaemon.net> | 2014-05-08 12:07:56 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-08 12:07:56 -0400 |
commit | 5194efc5c649a7fa622eae9af7df5dbcec940ea4 (patch) | |
tree | 39cbc2056a3466748283f4a1570f1f8f3a445322 /arch/arm | |
parent | 2c9b2240bee340711048589023eb057f23fda356 (diff) | |
parent | bffbc6eabd0e48bba5415c4aec34cb75d459c73a (diff) |
Merge branch 'mvebu/irqchip' into mvebu/soc
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/platsmp.c | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.h b/arch/arm/mach-mvebu/armada-370-xp.h index 237c86b83390..c3465f5b1250 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.h +++ b/arch/arm/mach-mvebu/armada-370-xp.h | |||
@@ -20,8 +20,6 @@ | |||
20 | 20 | ||
21 | #define ARMADA_XP_MAX_CPUS 4 | 21 | #define ARMADA_XP_MAX_CPUS 4 |
22 | 22 | ||
23 | void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq); | ||
24 | void armada_xp_mpic_smp_cpu_init(void); | ||
25 | void armada_xp_secondary_startup(void); | 23 | void armada_xp_secondary_startup(void); |
26 | extern struct smp_operations armada_xp_smp_ops; | 24 | extern struct smp_operations armada_xp_smp_ops; |
27 | #endif | 25 | #endif |
diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mvebu/platsmp.c index e01ae51bee56..32bf78e80c48 100644 --- a/arch/arm/mach-mvebu/platsmp.c +++ b/arch/arm/mach-mvebu/platsmp.c | |||
@@ -70,11 +70,6 @@ static void __init set_secondary_cpus_clock(void) | |||
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||
73 | static void armada_xp_secondary_init(unsigned int cpu) | ||
74 | { | ||
75 | armada_xp_mpic_smp_cpu_init(); | ||
76 | } | ||
77 | |||
78 | static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) | 73 | static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) |
79 | { | 74 | { |
80 | int ret, hw_cpu; | 75 | int ret, hw_cpu; |
@@ -98,8 +93,6 @@ static void __init armada_xp_smp_init_cpus(void) | |||
98 | 93 | ||
99 | if (ncores == 0 || ncores > ARMADA_XP_MAX_CPUS) | 94 | if (ncores == 0 || ncores > ARMADA_XP_MAX_CPUS) |
100 | panic("Invalid number of CPUs in DT\n"); | 95 | panic("Invalid number of CPUs in DT\n"); |
101 | |||
102 | set_smp_cross_call(armada_mpic_send_doorbell); | ||
103 | } | 96 | } |
104 | 97 | ||
105 | static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus) | 98 | static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus) |
@@ -132,7 +125,6 @@ static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus) | |||
132 | struct smp_operations armada_xp_smp_ops __initdata = { | 125 | struct smp_operations armada_xp_smp_ops __initdata = { |
133 | .smp_init_cpus = armada_xp_smp_init_cpus, | 126 | .smp_init_cpus = armada_xp_smp_init_cpus, |
134 | .smp_prepare_cpus = armada_xp_smp_prepare_cpus, | 127 | .smp_prepare_cpus = armada_xp_smp_prepare_cpus, |
135 | .smp_secondary_init = armada_xp_secondary_init, | ||
136 | .smp_boot_secondary = armada_xp_boot_secondary, | 128 | .smp_boot_secondary = armada_xp_boot_secondary, |
137 | #ifdef CONFIG_HOTPLUG_CPU | 129 | #ifdef CONFIG_HOTPLUG_CPU |
138 | .cpu_die = armada_xp_cpu_die, | 130 | .cpu_die = armada_xp_cpu_die, |