]> Pileus Git - ~andy/linux/blobdiff - arch/mips/kernel/smp-cmp.c
MIPS: kernel: smp-cmp: MIPS MT code needs CONFIG_MIPS_MT
[~andy/linux] / arch / mips / kernel / smp-cmp.c
index 5969f1e9b62a5c2b8fa0fc2645de79bc1dfa4aa7..1b925d8a610cdce41f7e0f031943d8afeb678518 100644 (file)
@@ -199,11 +199,14 @@ void __init cmp_prepare_cpus(unsigned int max_cpus)
        pr_debug("SMPCMP: CPU%d: %s max_cpus=%d\n",
                 smp_processor_id(), __func__, max_cpus);
 
+#ifdef CONFIG_MIPS_MT
        /*
         * FIXME: some of these options are per-system, some per-core and
         * some per-cpu
         */
        mips_mt_set_cpuoptions();
+#endif
+
 }
 
 struct plat_smp_ops cmp_smp_ops = {