Dou Liyang 8ffe4e61c0 irq/matrix: Split out the CPU selection code into a helper
Linux finds the CPU which has the lowest vector allocation count to spread
out the non managed interrupts across the possible target CPUs, but does
not do so for managed interrupts.

Split out the CPU selection code into a helper function for reuse. No
functional change.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20180908175838.14450-1-dou_liyang@163.com
2018-09-18 18:27:24 +02:00
..
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-06-19 09:19:40 +02:00
2018-03-20 14:23:28 +01:00
2018-06-22 14:22:58 +02:00
2018-03-20 14:23:27 +01:00