Skip to content

Commit

Permalink
x86: small sparse fix in process_32.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Feb 4, 2008
1 parent e04f99c commit 7bb308a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7bb308a

Please sign in to comment.