]> git.baikalelectronics.ru Git - kernel.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)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:18:56 +0000 (20:18 +0100)
commit9461bbccb9305fe3e8228bc5b0941e652d443a5c
tree0e12f52b45eabaf40b6a5b95f3835aaa83f5b20c
parentf621cb39c3bda6719ca1713066cbbcea644c2046
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>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5860/
arch/mips/kernel/smp-cmp.c