]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: MSP71xx: Remove compilation error when CONFIG_MIPS_MT is present
authorStefan Hengelein <stefan.hengelein@fau.de>
Mon, 20 Oct 2014 16:33:39 +0000 (18:33 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Oct 2014 21:16:55 +0000 (23:16 +0200)
commit41913c1a9a6469fbb5a641b35344b7e1d6948465
tree40ab840a18a74ec7e267ad5b774b493f3776af0c
parentd68075dbabd5e25c0f404da9ae0fa3ef4d9632b2
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>
arch/mips/pmcs-msp71xx/msp_irq.c