diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2018-09-09 01:58:37 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-09-18 18:27:24 +0200 |
commit | 8ffe4e61c06a48324cfd97f1199bb9838acce2f2 (patch) | |
tree | 81572b0099e375518189f08c092b46f6f9da2d5f /arch/x86 | |
parent | 7876320f88802b22d4e2daf7eb027dd14175a0f8 (diff) |
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
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions