summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-10-31 08:41:34 +0000
committerOlof Johansson <olof@lixom.net>2018-11-02 11:22:09 -0700
commit832ad0e3da4510fd17f98804abe512ea9a747035 (patch)
tree8e97645f71329fbcff5612148028583ba247d366 /arch
parent4b42745211af552f170f38a1b97f4a112b5da6b2 (diff)
soc: ti: QMSS: Fix usage of irq_set_affinity_hint
The Keystone QMSS driver is pretty damaged, in the sense that it does things like this: irq_set_affinity_hint(irq, to_cpumask(&cpu_map)); where cpu_map is a local variable. As we leave the function, this will point to nowhere-land, and things will end-up badly. Instead, let's use a proper cpumask that gets allocated, giving the driver a chance to actually work with things like irqbalance as well as have a hypothetical 64bit future. Cc: stable@vger.kernel.org Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions