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

arch/x86/kernel/process.c: In function 'cpu_idle_wait':
arch/x86/kernel/process.c:64: error: too many arguments to function 'smp_call_function'

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

index ba370dc8685bf8f9bf31e9100f78c4e800ea755e..2dad8fef391cd338d2aaa0e58ec97d362258be04 100644 (file)
@@ -61,7 +61,7 @@ void cpu_idle_wait(void)
 {
        smp_mb();
        /* kick all the CPUs so that they exit out of pm_idle */
-       smp_call_function(do_nothing, NULL, 0, 1);
+       smp_call_function(do_nothing, NULL, 1);
 }
 EXPORT_SYMBOL_GPL(cpu_idle_wait);