aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-12-16 20:33:58 -0500
committerMike Travis <travis@sgi.com>2008-12-16 20:40:57 -0500
commitd7b381bb7b1ad69ff008ea063d26e988b686c8de (patch)
treea5c8cd362ff64cabc9b60c88a984f77d98007fc7 /arch/x86/kernel/smpboot.c
parentb78936e14ee47b6b2d628501a0eab5270db80132 (diff)
x86: fixup_irqs() doesnt need an argument.
Impact: cleanup, remove on-stack cpumask. The "map" arg is always cpu_online_mask. Importantly, set_affinity always ands the argument with cpu_online_mask anyway, so we don't need to do it in fixup_irqs(), avoiding a temporary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 9d58134e0231..8b6f675b363b 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1346,7 +1346,7 @@ void cpu_disable_common(void)
1346 lock_vector_lock(); 1346 lock_vector_lock();
1347 remove_cpu_from_maps(cpu); 1347 remove_cpu_from_maps(cpu);
1348 unlock_vector_lock(); 1348 unlock_vector_lock();
1349 fixup_irqs(cpu_online_map); 1349 fixup_irqs();
1350} 1350}
1351 1351
1352int native_cpu_disable(void) 1352int native_cpu_disable(void)