]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/irq: Copy vectormask instead of an AND operation
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Dec 2015 16:30:49 +0000 (16:30 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 15 Jan 2016 12:44:00 +0000 (13:44 +0100)
commit9ac15b7a8af4cf3337a101498c0ed690d23ade75
tree453e662b98650c5a25092ac5fe533bfda284e5c6
parent3716fd27a604d61a91cda47083504971486b80f1
x86/irq: Copy vectormask instead of an AND operation

In the case that the new vector mask is a subset of the existing mask there is
no point to do a AND operation of currentmask & newmask. The result is
newmask. So we can simply copy the new mask to the current mask and be done
with it. Preparatory patch for further consolidation.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Borislav Petkov <bp@alien8.de>
Tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Jeremiah Mahler <jmmahler@gmail.com>
Cc: andy.shevchenko@gmail.com
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org #4.3+
Link: http://lkml.kernel.org/r/20151231160106.640253454@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/vector.c