genirq: Export affinity setter for modules
authorThomas Gleixner <tglx@linutronix.de>
Tue, 18 May 2021 09:17:26 +0000 (11:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 19 May 2021 09:01:51 +0000 (11:01 +0200)
commit4d80d6ca5d77fde9880da8466e5b64f250e5bf82
tree2fa4dc4160b284547d3096e6d4b26a9fceabb07b
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
genirq: Export affinity setter for modules

Perf modules abuse irq_set_affinity_hint() to set the affinity of system
PMU interrupts just because irq_set_affinity() was not exported.

The fact that irq_set_affinity_hint() actually sets the affinity is a
non-documented side effect and the name is clearly saying it's a hint.

To clean this up, export the real affinity setter.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20210518093117.968251441@linutronix.de
include/linux/interrupt.h
kernel/irq/manage.c