Skip to content

Commit df1cc3d

Browse files
ffainelliJohn Crispin
authored andcommitted
MIPS: SMTC: fix implicit declaration of set_vi_handler
This patch fixes the following implicit declaration while building with MIPS SMTC support enabled: arch/mips/kernel/smtc.c: In function 'setup_cross_vpe_interrupts': arch/mips/kernel/smtc.c:1205:2: error: implicit declaration of function 'set_vi_handler' [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors Signed-off-by: Florian Fainelli <florian@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4931/ Signed-off-by: John Crispin <blogic@openwrt.org>
1 parent f7be4e7 commit df1cc3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/mips/kernel/smtc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <asm/addrspace.h>
4242
#include <asm/smtc.h>
4343
#include <asm/smtc_proc.h>
44+
#include <asm/setup.h>
4445

4546
/*
4647
* SMTC Kernel needs to manipulate low-level CPU interrupt mask

0 commit comments

Comments
 (0)