diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/up.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/up.c b/kernel/up.c index ce62cc9e9f71..c04b9dcfcebe 100644 --- a/kernel/up.c +++ b/kernel/up.c | |||
@@ -9,10 +9,12 @@ | |||
9 | int smp_call_function_single(int cpu, void (*func) (void *info), void *info, | 9 | int smp_call_function_single(int cpu, void (*func) (void *info), void *info, |
10 | int wait) | 10 | int wait) |
11 | { | 11 | { |
12 | WARN_ON(cpuid != 0); | 12 | WARN_ON(cpu != 0); |
13 | |||
13 | local_irq_disable(); | 14 | local_irq_disable(); |
14 | (func)(info); | 15 | (func)(info); |
15 | local_irq_enable(); | 16 | local_irq_enable(); |
17 | |||
16 | return 0; | 18 | return 0; |
17 | } | 19 | } |
18 | EXPORT_SYMBOL(smp_call_function_single); | 20 | EXPORT_SYMBOL(smp_call_function_single); |