mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
genirq: export irq_can_set_affinity() for module drivers
Export irq_can_set_affinity() for loadable drivers that need a runtime check for IRQ affinity capability. In hierarchical IRQ setups where the effective irqchip path lacks .irq_set_affinity(), drivers may need to switch to a fallback policy. Without this export, module drivers cannot use the core helper and have to open-code equivalent checks. Signed-off-by: Hangtian Zhu <hangtian.zhu@oss.qualcomm.com> Acked-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260519011627.713068-2-hangtian.zhu@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
parent
dc59e4fea9
commit
25e638447e
|
|
@ -171,6 +171,7 @@ int irq_can_set_affinity(unsigned int irq)
|
|||
{
|
||||
return __irq_can_set_affinity(irq_to_desc(irq));
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(irq_can_set_affinity);
|
||||
|
||||
/**
|
||||
* irq_can_set_affinity_usr - Check if affinity of a irq can be set from user space
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user