fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
authorIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 09:50:32 +0000 (11:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 09:50:32 +0000 (11:50 +0200)
fix:

kernel/smp.c: In function 'smp_call_function_mask':
kernel/smp.c:303: error: too many arguments to function 'smp_call_function_single'

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/smp.c

index 7e0432a4a0e24be3181086647c635f68c8426011..4f582b257eba7f3927251d38f8e420119f138fdb 100644 (file)
@@ -300,7 +300,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
                return 0;
        else if (num_cpus == 1) {
                cpu = first_cpu(mask);
-               return smp_call_function_single(cpu, func, info, 0, wait);
+               return smp_call_function_single(cpu, func, info, wait);
        }
 
        if (!wait) {