[PATCH] powerpc/pseries/vas: Include irqdomain.h

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1929d LANDED

Landed in mainline as c736fb97051c on 2021-06-25.

2 messages, 2 authors, 2021-06-26 · open the first message on its own page

[PATCH] powerpc/pseries/vas: Include irqdomain.h

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2021-06-25 04:54:09

There are patches in flight to break the dependency between asm/irq.h
and linux/irqdomain.h, which would break compilation of vas.c because it
needs the declaration of irq_create_mapping() etc.

So add an explicit include of irqdomain.h to avoid that becoming a
problem in future.

Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Stephen Rothwell <redacted>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/platforms/pseries/vas.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/pseries/vas.c b/arch/powerpc/platforms/pseries/vas.c
index 3385b5400cc6..b5c1cf1bc64d 100644
--- a/arch/powerpc/platforms/pseries/vas.c
+++ b/arch/powerpc/platforms/pseries/vas.c
@@ -12,6 +12,7 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
+#include <linux/irqdomain.h>
 #include <asm/machdep.h>
 #include <asm/hvcall.h>
 #include <asm/plpar_wrappers.h>
-- 
2.25.1

Re: [PATCH] powerpc/pseries/vas: Include irqdomain.h

From: Michael Ellerman <hidden>
Date: 2021-06-26 10:47:39

On Fri, 25 Jun 2021 14:53:37 +1000, Michael Ellerman wrote:
There are patches in flight to break the dependency between asm/irq.h
and linux/irqdomain.h, which would break compilation of vas.c because it
needs the declaration of irq_create_mapping() etc.

So add an explicit include of irqdomain.h to avoid that becoming a
problem in future.
Applied to powerpc/next.

[1/1] powerpc/pseries/vas: Include irqdomain.h
      https://git.kernel.org/powerpc/c/c736fb97051c39c74bf5d4684bdac1766d43e175

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help