Skip to contentSkip to conversation

x86: small sparse fix in process_32.c

PATCH In review Harvey Harrison 1 participant 1 message Feb 2, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 x86: small sparse fix in process_32.c

arch/x86/kernel/process_32.c:254:43: warning: Using plain integer as NULL pointer

---
 arch/x86/kernel/process_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/process_32.c +1 -1
index 968371a..dabdbef 100644
@@ -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);
Signature · 1 line
1.5.4.rc4.1142.gf5a97