diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-11-26 16:05:48 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-10 12:45:43 -0500 |
commit | b1cffebf1029c87e1f1984d48463ee21093a6bc7 (patch) | |
tree | 43d297e7557685d57e7fa9595726f2846a8815ef /arch/arm/mach-realview | |
parent | 428fef8ad855c03b9f61c226c63df61bb43dc3e1 (diff) |
ARM: GIC: remove direct use of gic_raise_softirq
In preparation of moving gic code to drivers/irqchip, remove the direct
platform dependencies on gic_raise_softirq. Move the setup of
smp_cross_call into the gic code and use arch_send_wakeup_ipi_mask
function to trigger wake-up IPIs.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index 300f7064465d..98e3052b7933 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | 15 | ||
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | #include <asm/hardware/gic.h> | ||
18 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
19 | #include <asm/smp_scu.h> | 18 | #include <asm/smp_scu.h> |
20 | 19 | ||
@@ -59,8 +58,6 @@ static void __init realview_smp_init_cpus(void) | |||
59 | 58 | ||
60 | for (i = 0; i < ncores; i++) | 59 | for (i = 0; i < ncores; i++) |
61 | set_cpu_possible(i, true); | 60 | set_cpu_possible(i, true); |
62 | |||
63 | set_smp_cross_call(gic_raise_softirq); | ||
64 | } | 61 | } |
65 | 62 | ||
66 | static void __init realview_smp_prepare_cpus(unsigned int max_cpus) | 63 | static void __init realview_smp_prepare_cpus(unsigned int max_cpus) |