[MIPS] SMTC: smtc_timer_broadcast ignores its arguments, make it void.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 Jul 2007 17:39:19 +0000 (18:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:24 +0000 (21:35 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc.c
arch/mips/mips-boards/generic/time.c

index 2bfb2ee8435df19b2e69f0e54c1d1544de48c08d..f2c7aed663e7875a83885f5bcdf83e3d757c693e 100644 (file)
@@ -876,7 +876,7 @@ void deferred_smtc_ipi(void)
  * Send clock tick to all TCs except the one executing the funtion
  */
 
-void smtc_timer_broadcast(int vpe)
+void smtc_timer_broadcast(void)
 {
        int cpu;
        int myTC = cpu_data[smp_processor_id()].tc_id;
index c45d556aa96bd3553e1accbe115521391efc9b22..d7bff9ca5356a43240d50643fc87f18bebc007b2 100644 (file)
@@ -55,7 +55,7 @@ unsigned long cpu_khz;
 
 static int mips_cpu_timer_irq;
 extern int cp0_perfcount_irq;
-extern void smtc_timer_broadcast(int);
+extern void smtc_timer_broadcast(void);
 
 static void mips_timer_dispatch(void)
 {
@@ -131,7 +131,7 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id)
                                         (mips_hpt_frequency/HZ));
                        local_timer_interrupt(irq, dev_id);
                }
-               smtc_timer_broadcast(cpu_data[cpu].vpe_id);
+               smtc_timer_broadcast();
        }
 #else /* CONFIG_MIPS_MT_SMTC */
        int r2 = cpu_has_mips_r2;