]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Provide empty mips_mt_set_cpuoptions when CONFIG_MIPS_MT=n
authorPaul Burton <paul.burton@imgtec.com>
Mon, 24 Mar 2014 10:19:25 +0000 (10:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commitbf1315e02071cbad38d6a131ad99c0584fc3f1b6
tree698f991eff0422d1969a930472567503b95f0c22
parent26cda9c8cfd3665244eef02536c8ff6b19011670
MIPS: Provide empty mips_mt_set_cpuoptions when CONFIG_MIPS_MT=n

Both the CONFIG_MIPS_CPS & CONFIG_MIPS_CMP SMP implementations call
mips_mt_set_cpuoptions when preparing to start secondary CPUs. However
both may be used without MT. Provide an empty inline function to prevent
a link error in this case.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6647/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips_mt.h