summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison2008-02-04 16:48:04 +0100
committerIngo Molnar2008-02-04 16:48:04 +0100
commit7bb308a1eae2a3b869c498017aed15a699d80799 (patch)
treecc9d980795d008345a4eafd83d19d901e7c9a555
parentx86: add function prototype to vm86.h (diff)
downloadkernel-qcow2-linux-7bb308a1eae2a3b869c498017aed15a699d80799.tar.gz
kernel-qcow2-linux-7bb308a1eae2a3b869c498017aed15a699d80799.tar.xz
kernel-qcow2-linux-7bb308a1eae2a3b869c498017aed15a699d80799.zip
x86: small sparse fix in process_32.c
arch/x86/kernel/process_32.c:254:43: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/kernel/process_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 968371ab223a..dabdbeff1f77 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -251,7 +251,7 @@ void cpu_idle_wait(void)
* because it has nothing to do.
* Give all the remaining CPUS a kick.
*/
- smp_call_function_mask(map, do_nothing, 0, 0);
+ smp_call_function_mask(map, do_nothing, NULL, 0);
} while (!cpus_empty(map));
set_cpus_allowed(current, tmp);