Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [PATCH v4 08/19] irqdomain: Refactor __irq_domain_alloc_irqs() | Date | Tue, 17 Jan 2023 22:34:40 +0100 |
| |
On Mon, Jan 16 2023 at 14:50, Johan Hovold wrote:
> Refactor __irq_domain_alloc_irqs() so that it can be called internally > while holding the irq_domain_mutex. > > This will be used to fix a shared-interrupt mapping race.
No functional change. The split out internal function will be used to fix a shared interrupt mapping race. This change is therefore tagged with the same fixes tag.
Fixes: ....
> -int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, > - unsigned int nr_irqs, int node, void *arg, > - bool realloc, const struct irq_affinity_desc *affinity) > +static int ___irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, > + unsigned int nr_irqs, int node, void *arg, > + bool realloc, const struct irq_affinity_desc *affinity)
__ vs. ___ is almost undistinguishable.
irq_domain_alloc_irqs_locked() nicely explains what this is about, no?
Thanks,
tglx
| |