summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards/generic/time.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-27 19:39:19 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 22:35:24 +0200
commitefaa534ed191662270e3be143c8a038a7492ce8f (patch)
tree476776ff381e6ae3dd162f9cae6faa5ad511d37c /arch/mips/mips-boards/generic/time.c
parent[MIPS] SMTC: Declare static what should be static. (diff)
downloadlinux-efaa534ed191662270e3be143c8a038a7492ce8f.tar.xz
linux-efaa534ed191662270e3be143c8a038a7492ce8f.zip
[MIPS] SMTC: smtc_timer_broadcast ignores its arguments, make it void.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/generic/time.c')
-rw-r--r--arch/mips/mips-boards/generic/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index c45d556aa96b..d7bff9ca5356 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -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;