linux/drivers/sh/intc
Samuel Holland 073352e951 genirq: Add and use an irq_data_update_affinity helper
Some architectures and irqchip drivers modify the cpumask returned by
irq_data_get_affinity_mask, usually by copying in to it. This is
problematic for uniprocessor configurations, where the affinity mask
should be constant, as it is known at compile time.

Add and use a setter for the affinity mask, following the pattern of
irq_data_update_effective_affinity. This allows the getter function to
return a const cpumask pointer.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Xen bits
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220701200056.46555-7-samuel@sholland.org
2022-07-07 09:38:04 +01:00
..
access.c
balancing.c
chip.c genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
core.c sh: intc: Drop the use of irq_create_identity_mapping() 2021-04-07 12:12:52 +01:00
handle.c
internals.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
irqdomain.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
userimask.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
virq-debugfs.c sh: intc: Convert to DEFINE_SHOW_ATTRIBUTE 2021-01-06 19:55:24 -05:00
virq.c