aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2022-07-25 17:53:40 -0700
committerMarc Zyngier <[email protected]>2022-08-04 10:02:09 +0100
commitb0a4ab7ca4ce993d1cc51cbc85e9f341c729a3d4 (patch)
tree04c9ffa37267552b94238f76e951b43327f77a79 /tools/perf/util/trace-event-scripting.c
parent2bd1753e8c431fc7475c04ac8d14a4e9930f47f6 (diff)
iommu/hyper-v: Use helper instead of directly accessing affinity
Recent changes to solve inconsistencies in handling IRQ masks #ifdef out the affinity field in irq_common_data for non-SMP configurations. The current code in hyperv_irq_remapping_alloc() gets a compiler error in that case. Fix this by using the new irq_data_update_affinity() helper, which handles the non-SMP case correctly. Signed-off-by: Michael Kelley <[email protected]> Reported-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Acked-by: Randy Dunlap <[email protected]> Acked-by: Joerg Roedel <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Fixes: aa0813581b8d ("genirq: Provide an IRQ affinity mask in non-SMP configs") Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions