]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: kernel: smp-cmp: MIPS MT code needs CONFIG_MIPS_MT
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 19 Sep 2013 17:00:29 +0000 (18:00 +0100)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 11:48:26 +0000 (12:48 +0100)
commite1a161599220923b293c5652fc8fb186496474a7
treede0c7c844c5f1b9fe830b71173907a6dc33a792b
parenta0fef1b7decfae612b0187174d3e4540bf55b79e
MIPS: kernel: smp-cmp: MIPS MT code needs CONFIG_MIPS_MT

The mips_mt_* symbols are only built and exported if
CONFIG_MIPS_MT is enabled.

Fixes the following build problem when CONFIG_SMP is enabled
but CONFIG_MIPS_MT is not.

arch/mips/built-in.o: In function `cmp_prepare_cpus':
arch/mips/kernel/smp-cmp.c:197:
undefined reference to `mips_mt_set_cpuoptions'

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5860/
arch/mips/kernel/smp-cmp.c