diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-15 04:42:08 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-03 03:26:30 -0500 |
commit | ad3b6993b9c5482e8a2ec5aed181538c921fdcbd (patch) | |
tree | ec14d13777bc9b7d495929d74a83c36687ec4eab /arch/arm/mach-s5pv310/platsmp.c | |
parent | d92e04713c6323e09a0d0fdfa0d7cbcedb175e49 (diff) |
ARM: SMP: pass an ipi number to smp_cross_call()
This allows us to use smp_cross_call() to trigger a number of different
software generated interrupts, rather than combining them all on one
SGI. Recover the SGI number via do_IPI.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s5pv310/platsmp.c')
-rw-r--r-- | arch/arm/mach-s5pv310/platsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv310/platsmp.c b/arch/arm/mach-s5pv310/platsmp.c index d357c198edee..d474426f37b7 100644 --- a/arch/arm/mach-s5pv310/platsmp.c +++ b/arch/arm/mach-s5pv310/platsmp.c | |||
@@ -97,7 +97,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
97 | * the boot monitor to read the system wide flags register, | 97 | * the boot monitor to read the system wide flags register, |
98 | * and branch to the address found there. | 98 | * and branch to the address found there. |
99 | */ | 99 | */ |
100 | smp_cross_call(cpumask_of(cpu)); | 100 | smp_cross_call(cpumask_of(cpu), 1); |
101 | 101 | ||
102 | timeout = jiffies + (1 * HZ); | 102 | timeout = jiffies + (1 * HZ); |
103 | while (time_before(jiffies, timeout)) { | 103 | while (time_before(jiffies, timeout)) { |