diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-02-08 04:45:14 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-19 03:36:39 -0500 |
commit | df1cc3da2134bc10e6edc62709013a10e03e4106 (patch) | |
tree | 183a18ab06d5ed15733292b590738b94894268a3 /arch/mips | |
parent | f7be4e754b61681467f873400cbaa42a013b8973 (diff) |
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/smtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 1d47843d3cc0..0822232b62fc 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <asm/addrspace.h> | 41 | #include <asm/addrspace.h> |
42 | #include <asm/smtc.h> | 42 | #include <asm/smtc.h> |
43 | #include <asm/smtc_proc.h> | 43 | #include <asm/smtc_proc.h> |
44 | #include <asm/setup.h> | ||
44 | 45 | ||
45 | /* | 46 | /* |
46 | * SMTC Kernel needs to manipulate low-level CPU interrupt mask | 47 | * SMTC Kernel needs to manipulate low-level CPU interrupt mask |