aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2022-07-01 20:00:56 +0000
committerMarc Zyngier <[email protected]>2022-07-07 08:38:04 +0000
commitaa0813581b8d37bdd91cd40b67ef79ffa45104b2 (patch)
tree46ac9b881b3a2ed8a57661b83bb5a408447d83b2 /drivers/acpi/cppc_acpi.c
parentgenirq: Return a const cpumask from irq_data_get_affinity_mask (diff)
downloadkernel-aa0813581b8d37bdd91cd40b67ef79ffa45104b2.tar.gz
kernel-aa0813581b8d37bdd91cd40b67ef79ffa45104b2.zip
genirq: Provide an IRQ affinity mask in non-SMP configs
IRQ affinity masks are not allocated in uniprocessor configurations. This requires special case non-SMP code in drivers for irqchips which have per-CPU enable or mask registers. Since IRQ affinity is always the same in a uniprocessor configuration, we can provide a correct affinity mask without allocating one per IRQ. By returning a real cpumask from irq_data_get_affinity_mask even when SMP is disabled, irqchip drivers which iterate over that mask will automatically do the right thing. Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions