diff options
| author | Marc Zyngier <[email protected]> | 2018-10-31 08:41:34 +0000 |
|---|---|---|
| committer | Olof Johansson <[email protected]> | 2018-11-02 18:22:09 +0000 |
| commit | 832ad0e3da4510fd17f98804abe512ea9a747035 (patch) | |
| tree | 8e97645f71329fbcff5612148028583ba247d366 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/a... (diff) | |
| download | kernel-832ad0e3da4510fd17f98804abe512ea9a747035.tar.gz kernel-832ad0e3da4510fd17f98804abe512ea9a747035.zip | |
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: [email protected]
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
