summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorStefan Hengelein <stefan.hengelein@fau.de>2014-10-20 20:33:39 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-10-23 01:16:55 +0400
commitcd3d6438b4cdbe39fe8daf1a0abeebabcf9521d5 (patch)
tree40ab840a18a74ec7e267ad5b774b493f3776af0c /arch/mips
parentb61cd31ee6cbe65f67a6ccba2bcbd3c702f52778 (diff)
downloadlinux-cd3d6438b4cdbe39fe8daf1a0abeebabcf9521d5.tar.xz
MIPS: MSP71xx: Remove compilation error when CONFIG_MIPS_MT is present
When CONFIG_MIPS_MT is defined, code is enabled that tries to call 'set_vi_handler()'. This function is declared in <asm/setup.h> but the header is never included. Therefore, the compilation breaks. arch/mips/pmcs-msp71xx/msp_irq.c:133: error: implicit declaration of function 'set_vi_handler' This error was found with vampyr. Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: ryazanov.s.a@gmail.com Patchwork: https://patchwork.linux-mips.org/patch/8122/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/pmcs-msp71xx/msp_irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/pmcs-msp71xx/msp_irq.c b/arch/mips/pmcs-msp71xx/msp_irq.c
index f914c753de21..8d53d7a2ed45 100644
--- a/arch/mips/pmcs-msp71xx/msp_irq.c
+++ b/arch/mips/pmcs-msp71xx/msp_irq.c
@@ -16,6 +16,7 @@
#include <linux/time.h>
#include <asm/irq_cpu.h>
+#include <asm/setup.h>
#include <msp_int.h>