Skip to content

Commit 52b350c

Browse files
ffainelliMarc Zyngier
authored andcommitted
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. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 240e176 commit 52b350c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/irqchip/irq-bcm7038-l1.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
#include <linux/irqchip.h>
2929
#include <linux/irqchip/chained_irq.h>
3030
#include <linux/syscore_ops.h>
31+
#ifdef CONFIG_ARM
32+
#include <asm/smp_plat.h>
33+
#endif
3134

3235
#define IRQS_PER_WORD 32
3336
#define REG_BYTES_PER_IRQ_WORD (sizeof(u32) * 4)

0 commit comments

Comments
 (0)