diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-07-27 06:29:08 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-27 06:29:17 -0400 |
commit | 3bb447fc8bb6523cb1cec7a0277d831a2b0462b7 (patch) | |
tree | e5f11fda2ff91d5670f1c046b53a12b4dbef55aa /include/asm-s390 | |
parent | d941cf5e373c356723fa648b9f0302a11c9b1770 (diff) |
[S390] Convert to smp_call_function_single.
smp_call_function_single now has the same semantics as s390's
smp_call_function_on. Therefore convert to the *single variant
and get rid of some architecture specific code.
Signed-off-by: Heiko Carstens <heiko.carstens@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 | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/asm-s390/smp.h b/include/asm-s390/smp.h index 76e424f718c6..07708c07701e 100644 --- a/include/asm-s390/smp.h +++ b/include/asm-s390/smp.h | |||
@@ -36,8 +36,7 @@ extern void machine_halt_smp(void); | |||
36 | extern void machine_power_off_smp(void); | 36 | extern void machine_power_off_smp(void); |
37 | 37 | ||
38 | extern void smp_setup_cpu_possible_map(void); | 38 | extern void smp_setup_cpu_possible_map(void); |
39 | extern int smp_call_function_on(void (*func) (void *info), void *info, | 39 | |
40 | int nonatomic, int wait, int cpu); | ||
41 | #define NO_PROC_ID 0xFF /* No processor magic marker */ | 40 | #define NO_PROC_ID 0xFF /* No processor magic marker */ |
42 | 41 | ||
43 | /* | 42 | /* |
@@ -96,14 +95,6 @@ extern int __cpu_up (unsigned int cpu); | |||
96 | #endif | 95 | #endif |
97 | 96 | ||
98 | #ifndef CONFIG_SMP | 97 | #ifndef CONFIG_SMP |
99 | static inline int | ||
100 | smp_call_function_on(void (*func) (void *info), void *info, | ||
101 | int nonatomic, int wait, int cpu) | ||
102 | { | ||
103 | func(info); | ||
104 | return 0; | ||
105 | } | ||
106 | |||
107 | static inline void smp_send_stop(void) | 98 | static inline void smp_send_stop(void) |
108 | { | 99 | { |
109 | /* Disable all interrupts/machine checks */ | 100 | /* Disable all interrupts/machine checks */ |