diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-17 17:20:18 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-17 17:22:46 +0200 |
commit | 826681043d7184b4d650cab5b007b9a86b628eb5 (patch) | |
tree | 03b3914863138e88a985d1d4e2e7258ec81378d5 /arch/arm/common/gic.c | |
parent | Fix caller information for warn_slowpath_null (diff) | |
download | linux-826681043d7184b4d650cab5b007b9a86b628eb5.tar.xz linux-826681043d7184b4d650cab5b007b9a86b628eb5.zip |
[ARM] smp: fix cpumask usage in ARM SMP code
The ARM SMP code wasn't properly updated for the cpumask changes, which
results in smp_timer_broadcast() broadcasting ticks to non-online CPUs.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/gic.c')
-rw-r--r-- | arch/arm/common/gic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c index c6884ba1d5ed..3e1714c6523f 100644 --- a/arch/arm/common/gic.c +++ b/arch/arm/common/gic.c @@ -253,9 +253,9 @@ void __cpuinit gic_cpu_init(unsigned int gic_nr, void __iomem *base) } #ifdef CONFIG_SMP -void gic_raise_softirq(cpumask_t cpumask, unsigned int irq) +void gic_raise_softirq(const struct cpumask *mask, unsigned int irq) { - unsigned long map = *cpus_addr(cpumask); + unsigned long map = *cpus_addr(*mask); /* this always happens on GIC0 */ writel(map << 16 | irq, gic_data[0].dist_base + GIC_DIST_SOFTINT); |