diff options
author | Mike Travis <travis@sgi.com> | 2008-12-17 02:33:58 +0100 |
---|---|---|
committer | Mike Travis <travis@sgi.com> | 2008-12-17 02:40:57 +0100 |
commit | d7b381bb7b1ad69ff008ea063d26e988b686c8de (patch) | |
tree | a5c8cd362ff64cabc9b60c88a984f77d98007fc7 /arch/x86/kernel/smpboot.c | |
parent | xen: convert to cpumask_var_t and new cpumask primitives. (diff) | |
download | linux-d7b381bb7b1ad69ff008ea063d26e988b686c8de.tar.xz linux-d7b381bb7b1ad69ff008ea063d26e988b686c8de.zip |
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 '')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
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) lock_vector_lock(); remove_cpu_from_maps(cpu); unlock_vector_lock(); - fixup_irqs(cpu_online_map); + fixup_irqs(); } int native_cpu_disable(void) |