summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSrinivas Ramana <sramana@codeaurora.org>2018-12-20 19:05:57 +0530
committerThomas Gleixner <tglx@linutronix.de>2019-01-15 11:23:27 +0100
commitbddda606ec76550dd63592e32a6e87e7d32583f7 (patch)
treeede90e17594152a9580d797d2c9b265ed1774c76 /scripts
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 (diff)
downloadlinux-bddda606ec76550dd63592e32a6e87e7d32583f7.tar.bz2
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 <sramana@codeaurora.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-msm@vger.kernel.org Link: https://lkml.kernel.org/r/1545312957-8504-1-git-send-email-sramana@codeaurora.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions