diff options
| author | Srinivas Ramana <[email protected]> | 2018-12-20 13:35:57 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-01-15 10:23:27 +0000 |
| commit | bddda606ec76550dd63592e32a6e87e7d32583f7 (patch) | |
| tree | ede90e17594152a9580d797d2c9b265ed1774c76 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | Linux 5.0-rc2 (diff) | |
| download | kernel-bddda606ec76550dd63592e32a6e87e7d32583f7.tar.gz kernel-bddda606ec76550dd63592e32a6e87e7d32583f7.zip | |
genirq: Make sure the initial affinity is not empty
If all CPUs in the irq_default_affinity mask are offline when an interrupt
is initialized then irq_setup_affinity() can set an empty affinity mask for
a newly allocated interrupt.
Fix this by falling back to cpu_online_mask in case the resulting affinity
mask is zero.
Signed-off-by: Srinivas Ramana <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
