diff options
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r-- | include/linux/smp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index eac3e062250f..338cad1b9548 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -62,11 +62,11 @@ extern void smp_cpus_done(unsigned int max_cpus); | |||
62 | /* | 62 | /* |
63 | * Call a function on all other processors | 63 | * Call a function on all other processors |
64 | */ | 64 | */ |
65 | int smp_call_function(void(*func)(void *info), void *info, int retry, int wait); | 65 | int smp_call_function(void(*func)(void *info), void *info, int wait); |
66 | int smp_call_function_mask(cpumask_t mask, void(*func)(void *info), void *info, | 66 | int smp_call_function_mask(cpumask_t mask, void(*func)(void *info), void *info, |
67 | int wait); | 67 | int wait); |
68 | int smp_call_function_single(int cpuid, void (*func) (void *info), void *info, | 68 | int smp_call_function_single(int cpuid, void (*func) (void *info), void *info, |
69 | int retry, int wait); | 69 | int wait); |
70 | void __smp_call_function_single(int cpuid, struct call_single_data *data); | 70 | void __smp_call_function_single(int cpuid, struct call_single_data *data); |
71 | 71 | ||
72 | /* | 72 | /* |
@@ -119,7 +119,7 @@ static inline int up_smp_call_function(void (*func)(void *), void *info) | |||
119 | { | 119 | { |
120 | return 0; | 120 | return 0; |
121 | } | 121 | } |
122 | #define smp_call_function(func, info, retry, wait) \ | 122 | #define smp_call_function(func, info, wait) \ |
123 | (up_smp_call_function(func, info)) | 123 | (up_smp_call_function(func, info)) |
124 | #define on_each_cpu(func,info,retry,wait) \ | 124 | #define on_each_cpu(func,info,retry,wait) \ |
125 | ({ \ | 125 | ({ \ |
@@ -131,7 +131,7 @@ static inline int up_smp_call_function(void (*func)(void *), void *info) | |||
131 | static inline void smp_send_reschedule(int cpu) { } | 131 | static inline void smp_send_reschedule(int cpu) { } |
132 | #define num_booting_cpus() 1 | 132 | #define num_booting_cpus() 1 |
133 | #define smp_prepare_boot_cpu() do {} while (0) | 133 | #define smp_prepare_boot_cpu() do {} while (0) |
134 | #define smp_call_function_single(cpuid, func, info, retry, wait) \ | 134 | #define smp_call_function_single(cpuid, func, info, wait) \ |
135 | ({ \ | 135 | ({ \ |
136 | WARN_ON(cpuid != 0); \ | 136 | WARN_ON(cpuid != 0); \ |
137 | local_irq_disable(); \ | 137 | local_irq_disable(); \ |