cpumask: smp_call_function_many s390 version

S/390 will use the generic one soon, so this is just here for reference.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 arch/s390/include/asm/smp.h |    3 ---
 arch/s390/kernel/smp.c      |    9 +++++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diff -r a701ec4491ec arch/s390/include/asm/smp.h
--- a/arch/s390/include/asm/smp.h	Tue Nov 18 12:08:41 2008 +1030
+++ b/arch/s390/include/asm/smp.h	Tue Nov 18 12:10:56 2008 +1030
@@ -90,9 +90,6 @@
 
 extern struct mutex smp_cpu_state_mutex;
 extern int smp_cpu_polarization[];
-
-extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
-	void *info, int wait);
 #endif
 
 #ifndef CONFIG_SMP
diff -r a701ec4491ec arch/s390/kernel/smp.c
--- a/arch/s390/kernel/smp.c	Tue Nov 18 12:08:41 2008 +1030
+++ b/arch/s390/kernel/smp.c	Tue Nov 18 12:10:56 2008 +1030
@@ -199,7 +199,7 @@
 EXPORT_SYMBOL(smp_call_function_single);
 
 /**
- * smp_call_function_mask(): Run a function on a set of other CPUs.
+ * smp_call_function_many(): Run a function on a set of other CPUs.
  * @mask: The set of cpus to run on.  Must not include the current cpu.
  * @func: The function to run. This must be fast and non-blocking.
  * @info: An arbitrary pointer to pass to the function.
@@ -213,16 +213,17 @@
  * You must not call this function with disabled interrupts or from a
  * hardware interrupt handler or from a bottom half handler.
  */
-int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
-			   int wait)
+int smp_call_function_many(const struct cpumask *maskp,
+			   void (*func)(void *), void *info, bool wait)
 {
+	cpumask_t mask = *maskp;
 	spin_lock(&call_lock);
 	cpu_clear(smp_processor_id(), mask);
 	__smp_call_function_map(func, info, wait, mask);
 	spin_unlock(&call_lock);
 	return 0;
 }
-EXPORT_SYMBOL(smp_call_function_mask);
+EXPORT_SYMBOL(smp_call_function_many);
 
 void smp_send_stop(void)
 {
