]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88406ef6a03bf8956dd723f4faa139a1927f8b95
tree2fa4dc4160b284547d3096e6d4b26a9fceabb07b
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
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