]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/irq: Reorganize the search in assign_irq_vector
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Dec 2015 16:30:47 +0000 (16:30 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 15 Jan 2016 12:44:00 +0000 (13:44 +0100)
commit95ffeb4b5baca266e1d0d2bc90f1513e6f419cdd
tree92465e9942f756f5248e6fd6619b7bba0a1bcf8c
parent433cbd57d190a1cdd02f243df41c3d7f55ec4b94
x86/irq: Reorganize the search in assign_irq_vector

Split out the code which advances the target cpu for the search so we can
reuse it for the next patch which adds an early validation check for the
vectormask which we get from the apic.

Add comments while at it.

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.484562040@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/vector.c