]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Don't unmask disabled irqs when migrating them
authorTian, Kevin <kevin.tian@intel.com>
Fri, 6 May 2011 06:43:56 +0000 (14:43 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 19 May 2011 12:51:08 +0000 (14:51 +0200)
commit67940e18930975b869d98b1cc3a1a0057a71c0f6
tree945ed2ef4399955e515b1bd61fc2a55ed9e4c96e
parent57f6be9e20946747a0c8a7ffd967fbc0e0a71ce6
x86: Don't unmask disabled irqs when migrating them

It doesn't make sense to unconditionally unmask a disabled irq when
migrating it from offlined cpu to another. If the irq triggers then it
will be disabled in the interrupt handler anyway. So we can just avoid
unmasking it.

[ tglx: Made masking unconditional again and fixed the changelog ]

Signed-off-by: Fengzhe Zhang <fengzhe.zhang@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Jan Beulich <JBeulich@novell.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Link: http://lkml.kernel.org/r/%3C625BA99ED14B2D499DC4E29D8138F1505C8ED7F7E3%40shsmsx502.ccr.corp.intel.com%3E
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/irq.c