x86: Don't unmask disabled irqs when migrating them
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 <eadc01bbc06c159c1a5550f7872cc019ac22ad71@intel.com>
Signed-off-by: Kevin Tian <018116df59215ebb1327ac51ce8517a08a1f26ae@intel.com>
Cc: Ian Campbell <d07012418334d2b85843de1e24273f2477041b61@citrix.com>
Cc: Jan Beulich <051346888327db48cce19d2cfd0e1c700bb7cf16@novell.com>
Cc: "196a79ea1bad81d8c954adf793448b0a45442f28@lists.xensource.com" <196a79ea1bad81d8c954adf793448b0a45442f28@lists.xensource.com>
Link: http://lkml.kernel.org/r/%3C625BA99ED14B2D499DC4E29D8138F1505C8ED7F7E3%40shsmsx502.ccr.corp.intel.com%3E
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>


TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs