瀏覽代碼

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>
Harvey Harrison 17 年之前
父節點
當前提交
7bb308a1ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/kernel/process_32.c

+ 1 - 1
arch/x86/kernel/process_32.c

@@ -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);