OSDN Git Service

MIPS: MT: Remove SMTC support
[uclinux-h8/linux.git] / arch / mips / kernel / sync-r4k.c
index c24ad5f..2242bdd 100644 (file)
@@ -6,8 +6,6 @@
  * not have done anything significant (but they may have had interrupts
  * enabled briefly - prom_smp_finish() should not be responsible for enabling
  * interrupts...)
- *
- * FIXME: broken for SMTC
  */
 
 #include <linux/kernel.h>
@@ -33,14 +31,6 @@ void synchronise_count_master(int cpu)
        unsigned long flags;
        unsigned int initcount;
 
-#ifdef CONFIG_MIPS_MT_SMTC
-       /*
-        * SMTC needs to synchronise per VPE, not per CPU
-        * ignore for now
-        */
-       return;
-#endif
-
        printk(KERN_INFO "Synchronize counters for CPU %u: ", cpu);
 
        local_irq_save(flags);
@@ -110,14 +100,6 @@ void synchronise_count_slave(int cpu)
        int i;
        unsigned int initcount;
 
-#ifdef CONFIG_MIPS_MT_SMTC
-       /*
-        * SMTC needs to synchronise per VPE, not per CPU
-        * ignore for now
-        */
-       return;
-#endif
-
        /*
         * Not every cpu is online at the time this gets called,
         * so we first wait for the master to say everyone is ready