x86: Eliminate pointless adjustment attempts in fixup_irqs()
commit58bff947e2d164c7e5cbf7f485e4b3d4884befeb
authorJan Beulich <JBeulich@novell.com>
Thu, 17 Feb 2011 15:54:26 +0000 (17 15:54 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Feb 2011 07:58:00 +0000 (18 08:58 +0100)
tree8ac78b374c6af3700b1e2dc47988bd05922bcf4b
parent2a324ce7b79a3a90cc2d4ade5d5f960a99000caa
x86: Eliminate pointless adjustment attempts in fixup_irqs()

Not only when an IRQ's affinity equals cpu_online_mask is there
no need to actually try to adjust the affinity, but also when
it's a subset thereof. This particularly avoids adjustment
attempts during system shutdown to any IRQs bound to CPU#0.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Gary Hade <garyhade@us.ibm.com>
LKML-Reference: <4D5D52C2020000780003272C@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq.c