[PATCH v2 01/11] genirq/affinity:: Export irq_create_affinity_masks()

From: Xie Yongji
Date: Mon Dec 05 2022 - 03:43:08 EST


Export irq_create_affinity_masks() so that some modules
can make use of it to implement interrupt affinity
spreading mechanism.

Signed-off-by: Xie Yongji <xieyongji@xxxxxxxxxxxxx>
---
kernel/irq/affinity.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/irq/affinity.c b/kernel/irq/affinity.c
index d9a5c1d65a79..f074a7707c6d 100644
--- a/kernel/irq/affinity.c
+++ b/kernel/irq/affinity.c
@@ -487,6 +487,7 @@ irq_create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd)

return masks;
}
+EXPORT_SYMBOL_GPL(irq_create_affinity_masks);

/**
* irq_calc_affinity_vectors - Calculate the optimal number of vectors
--
2.20.1