Commit efaa534e authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] SMTC: smtc_timer_broadcast ignores its arguments, make it void.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 97aef63c
...@@ -876,7 +876,7 @@ void deferred_smtc_ipi(void) ...@@ -876,7 +876,7 @@ void deferred_smtc_ipi(void)
* Send clock tick to all TCs except the one executing the funtion * 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 cpu;
int myTC = cpu_data[smp_processor_id()].tc_id; int myTC = cpu_data[smp_processor_id()].tc_id;
......
...@@ -55,7 +55,7 @@ unsigned long cpu_khz; ...@@ -55,7 +55,7 @@ unsigned long cpu_khz;
static int mips_cpu_timer_irq; static int mips_cpu_timer_irq;
extern int cp0_perfcount_irq; extern int cp0_perfcount_irq;
extern void smtc_timer_broadcast(int); extern void smtc_timer_broadcast(void);
static void mips_timer_dispatch(void) static void mips_timer_dispatch(void)
{ {
...@@ -131,7 +131,7 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id) ...@@ -131,7 +131,7 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id)
(mips_hpt_frequency/HZ)); (mips_hpt_frequency/HZ));
local_timer_interrupt(irq, dev_id); local_timer_interrupt(irq, dev_id);
} }
smtc_timer_broadcast(cpu_data[cpu].vpe_id); smtc_timer_broadcast();
} }
#else /* CONFIG_MIPS_MT_SMTC */ #else /* CONFIG_MIPS_MT_SMTC */
int r2 = cpu_has_mips_r2; int r2 = cpu_has_mips_r2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment