diff options
author | Carsten Otte <cotte@de.ibm.com> | 2008-01-26 08:11:27 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:11:31 -0500 |
commit | dab5209cd878c146d9f6923f061d1c2725ff210f (patch) | |
tree | 4b6bae43bc7050c11efb526ad1f535deba95726c /include/asm-s390 | |
parent | 7dc1da9ffae5a344f7115d019e2be069d3e1bb8d (diff) |
[S390] add smp_call_function_mask
This patch adds the s390 variant for smp_call_function_mask(). The
implementation is pretty straight forward using the wrapper
__smp_call_function_map() which already takes a cpumask_t argument.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/smp.h b/include/asm-s390/smp.h index 218454b91862..c7b74326a527 100644 --- a/include/asm-s390/smp.h +++ b/include/asm-s390/smp.h | |||
@@ -90,6 +90,8 @@ extern void __cpu_die (unsigned int cpu); | |||
90 | extern void cpu_die (void) __attribute__ ((noreturn)); | 90 | extern void cpu_die (void) __attribute__ ((noreturn)); |
91 | extern int __cpu_up (unsigned int cpu); | 91 | extern int __cpu_up (unsigned int cpu); |
92 | 92 | ||
93 | extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), | ||
94 | void *info, int wait); | ||
93 | #endif | 95 | #endif |
94 | 96 | ||
95 | #ifndef CONFIG_SMP | 97 | #ifndef CONFIG_SMP |