aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:45 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:46 +0930
commit630cd0460724e286d3c5cb2c33930b0ae9cd6645 (patch)
tree1fea9eaf0bd64fd020ea5aee1330ac96bbba71e6 /arch/s390
parentf063ea02fba5782099b6730d5733ee44638df8f9 (diff)
downloadkernel_samsung_tuna-630cd0460724e286d3c5cb2c33930b0ae9cd6645.zip
kernel_samsung_tuna-630cd0460724e286d3c5cb2c33930b0ae9cd6645.tar.gz
kernel_samsung_tuna-630cd0460724e286d3c5cb2c33930b0ae9cd6645.tar.bz2
cpumask: arch_send_call_function_ipi_mask: s390
We're weaning the core code off handing cpumask's around on-stack. This introduces arch_send_call_function_ipi_mask(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/smp.h3
-rw-r--r--arch/s390/kernel/smp.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/s390/include/asm/smp.h b/arch/s390/include/asm/smp.h
index c991fe6..6de6218 100644
--- a/arch/s390/include/asm/smp.h
+++ b/arch/s390/include/asm/smp.h
@@ -62,7 +62,8 @@ extern struct mutex smp_cpu_state_mutex;
extern int smp_cpu_polarization[];
extern void arch_send_call_function_single_ipi(int cpu);
-extern void arch_send_call_function_ipi(cpumask_t mask);
+extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
+#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask
#endif
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index b4b6396..c932caa 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -147,11 +147,11 @@ static void smp_ext_bitcall(int cpu, ec_bit_sig sig)
udelay(10);
}
-void arch_send_call_function_ipi(cpumask_t mask)
+void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{
int cpu;
- for_each_cpu_mask(cpu, mask)
+ for_each_cpu(cpu, mask)
smp_ext_bitcall(cpu, ec_call_function);
}