Skip to contentSkip to conversation

MIPS: pmcs-msp71xx: include asm/setup.h

PATCH New Arnd Bergmann 1 participant 1 message Sep 18, 2017 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: pmcs-msp71xx: include asm/setup.h

msp71xx_defconfig can not be built at the in v4.14-rc1

arch/mips/pmcs-msp71xx/msp_smp.c:72:2: error: implicit declaration of function 'set_vi_handler' [-Werror=implicit-function-declaration]

I don't know what caused the regression, but including the right header is the obvious fix.

---
 arch/mips/pmcs-msp71xx/msp_smp.c | 2 ++
 1 file changed, 2 insertions(+)
arch/mips/pmcs-msp71xx/msp_smp.c +2 -0
index ffa0f7101a97..2b08242ade62 100644
@@ -22,6 +22,8 @@
 #include <linux/smp.h>
 #include <linux/interrupt.h>
 
+#include <asm/setup.h>
+
 #ifdef CONFIG_MIPS_MT_SMP
 #define MIPS_CPU_IPI_RESCHED_IRQ 0	/* SW int 0 for resched */
 #define MIPS_CPU_IPI_CALL_IRQ 1		/* SW int 1 for call */
Signature · 1 line
2.9.0