Skip to contentSkip to conversation

irqchip/irq-bcm7038-l1: Allow building on ARM 32-bit

PATCH Applied Florian Fainelli 2 participants 2 messages Jul 9, 2020 – Jul 17, 2020

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip/irq-bcm7038-l1: Allow building on ARM 32-bit

We need to have a definition for cpu_logical_map[] which on ARM platforms is provided by asm/smp_plat.h. This header is not automatically included from linux/smp.h and untangling it is a bit difficult.

---
 drivers/irqchip/irq-bcm7038-l1.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/irqchip/irq-bcm7038-l1.c +3 -0
index fd7c537fb42a..f36bcd296ce2 100644
@@ -28,6 +28,9 @@
 #include <linux/irqchip.h>
 #include <linux/irqchip/chained_irq.h>
 #include <linux/syscore_ops.h>
+#ifdef CONFIG_ARM
+#include <asm/smp_plat.h>
+#endif
 
 #define IRQS_PER_WORD		32
 #define REG_BYTES_PER_IRQ_WORD	(sizeof(u32) * 4)
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 4 lines · Florian Fainelli

We need to have a definition for cpu_logical_map[] which on ARM platforms is provided by asm/smp_plat.h. This header is not automatically included from linux/smp.h and untangling it is a bit difficult.

Applied to irq/irqchip-5.9, thanks!

[1/1] irqchip/irq-bcm7038-l1: Allow building on ARM 32-bit

      commit: 52b350cbc94721d87f087d1a5800f9531c2d682c

Cheers,

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.