Skip to content

Commit

Permalink
MIPS: SMTC: fix implicit declaration of set_vi_handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and John Crispin committed Feb 19, 2013
1 parent f7be4e7 commit df1cc3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/kernel/smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <asm/addrspace.h>
#include <asm/smtc.h>
#include <asm/smtc_proc.h>
#include <asm/setup.h>

/*
* SMTC Kernel needs to manipulate low-level CPU interrupt mask
Expand Down

0 comments on commit df1cc3d

Please sign in to comment.