Commit cd3d6438 authored by Stefan Hengelein's avatar Stefan Hengelein Committed by Ralf Baechle

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: default avatarStefan 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent b61cd31e
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <asm/irq_cpu.h> #include <asm/irq_cpu.h>
#include <asm/setup.h>
#include <msp_int.h> #include <msp_int.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment