Skip to content

Commit

Permalink
MIPS: MSP71xx: Include asm/setup.h
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17309/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
arndb authored and ralfbaechle committed Sep 21, 2017
1 parent fd0b19e commit 9bbe7dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/pmcs-msp71xx/msp_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9bbe7dc

Please sign in to comment.