提交 7bb308a1 编写于 作者: H Harvey Harrison 提交者: Ingo Molnar

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: NHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 e04f99c9
...@@ -251,7 +251,7 @@ void cpu_idle_wait(void) ...@@ -251,7 +251,7 @@ void cpu_idle_wait(void)
* because it has nothing to do. * because it has nothing to do.
* Give all the remaining CPUS a kick. * 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)); } while (!cpus_empty(map));
set_cpus_allowed(current, tmp); set_cpus_allowed(current, tmp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册