Building msp71xx_defconfig currently fails due to a missing inclusion of asm/setup.h leading to: arch/mips/pmcs-msp71xx/msp_smp.c: In function ‘msp_vsmp_int_init’: arch/mips/pmcs-msp71xx/msp_smp.c:72:2: error: implicit declaration of function ‘set_vi_handler’ [-Werror=implicit-function-declaration] set_vi_handler(MIPS_CPU_IPI_RESCHED_IRQ, ipi_resched_dispatch); ^ cc1: all warnings being treated as errors Fix this by including asm/setup.h to obtain the declaration of set_vi_handler(). Signed-off-by: Paul Burton <paul.burton@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx Cc: trivial@xxxxxxxxxx --- arch/mips/pmcs-msp71xx/msp_smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/pmcs-msp71xx/msp_smp.c b/arch/mips/pmcs-msp71xx/msp_smp.c index ffa0f7101a97..6441bd2514c5 100644 --- a/arch/mips/pmcs-msp71xx/msp_smp.c +++ b/arch/mips/pmcs-msp71xx/msp_smp.c @@ -21,6 +21,7 @@ */ #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 */ -- 2.12.1