diff options
Diffstat (limited to 'kernel/up.c')
| -rw-r--r-- | kernel/up.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/up.c b/kernel/up.c index 509403e3fbc6..1760bf3d1463 100644 --- a/kernel/up.c +++ b/kernel/up.c | |||
| @@ -22,16 +22,16 @@ int smp_call_function_single(int cpu, void (*func) (void *info), void *info, | |||
| 22 | } | 22 | } |
| 23 | EXPORT_SYMBOL(smp_call_function_single); | 23 | EXPORT_SYMBOL(smp_call_function_single); |
| 24 | 24 | ||
| 25 | void __smp_call_function_single(int cpu, struct call_single_data *csd, | 25 | int smp_call_function_single_async(int cpu, struct call_single_data *csd) |
| 26 | int wait) | ||
| 27 | { | 26 | { |
| 28 | unsigned long flags; | 27 | unsigned long flags; |
| 29 | 28 | ||
| 30 | local_irq_save(flags); | 29 | local_irq_save(flags); |
| 31 | csd->func(csd->info); | 30 | csd->func(csd->info); |
| 32 | local_irq_restore(flags); | 31 | local_irq_restore(flags); |
| 32 | return 0; | ||
| 33 | } | 33 | } |
| 34 | EXPORT_SYMBOL(__smp_call_function_single); | 34 | EXPORT_SYMBOL(smp_call_function_single_async); |
| 35 | 35 | ||
| 36 | int on_each_cpu(smp_call_func_t func, void *info, int wait) | 36 | int on_each_cpu(smp_call_func_t func, void *info, int wait) |
| 37 | { | 37 | { |
