Thread (41 messages) 41 messages, 6 authors, 2023-01-16

Re: [PATCH v3 10/19] irqdomain: Clean up irq_domain_push/pop_irq()

From: Philippe Mathieu-Daudé <hidden>
Date: 2022-12-12 22:33:01
Also in: linux-mips, lkml, platform-driver-x86

On 9/12/22 15:01, Johan Hovold wrote:
The irq_domain_push_irq() interface is used to add a new (outmost) level
to a hierarchical domain after IRQs have been allocated.

Possibly due to differing mental images of hierarchical domains, the
names used for the irq_data variables make these functions much harder
to understand than what they need to be.

Rename the struct irq_data pointer to the data embedded in the
descriptor as simply 'irq_data' and refer to the data allocated by this
interface as 'parent_irq_data' so that the names reflect how
hierarchical domains are implemented.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
  kernel/irq/irqdomain.c | 65 +++++++++++++++++++++---------------------
  1 file changed, 32 insertions(+), 33 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <redacted>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help