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)
commitd94c90f8050e1e7d46a4217909af106a08dd31ea
tree698f991eff0422d1969a930472567503b95f0c22
parent49992cb1dba341cc80444f7c841e5e29c37d547b
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