diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-27 13:39:19 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:24 -0400 |
commit | efaa534ed191662270e3be143c8a038a7492ce8f (patch) | |
tree | 476776ff381e6ae3dd162f9cae6faa5ad511d37c /arch/mips | |
parent | 97aef63c9f403e4a3d07e3da9e468add0cd93385 (diff) |
[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')
-rw-r--r-- | arch/mips/kernel/smtc.c | 2 | ||||
-rw-r--r-- | arch/mips/mips-boards/generic/time.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 2bfb2ee8435d..f2c7aed663e7 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c | |||
@@ -876,7 +876,7 @@ void deferred_smtc_ipi(void) | |||
876 | * Send clock tick to all TCs except the one executing the funtion | 876 | * Send clock tick to all TCs except the one executing the funtion |
877 | */ | 877 | */ |
878 | 878 | ||
879 | void smtc_timer_broadcast(int vpe) | 879 | void smtc_timer_broadcast(void) |
880 | { | 880 | { |
881 | int cpu; | 881 | int cpu; |
882 | int myTC = cpu_data[smp_processor_id()].tc_id; | 882 | int myTC = cpu_data[smp_processor_id()].tc_id; |
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; | |||
55 | 55 | ||
56 | static int mips_cpu_timer_irq; | 56 | static int mips_cpu_timer_irq; |
57 | extern int cp0_perfcount_irq; | 57 | extern int cp0_perfcount_irq; |
58 | extern void smtc_timer_broadcast(int); | 58 | extern void smtc_timer_broadcast(void); |
59 | 59 | ||
60 | static void mips_timer_dispatch(void) | 60 | static void mips_timer_dispatch(void) |
61 | { | 61 | { |
@@ -131,7 +131,7 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id) | |||
131 | (mips_hpt_frequency/HZ)); | 131 | (mips_hpt_frequency/HZ)); |
132 | local_timer_interrupt(irq, dev_id); | 132 | local_timer_interrupt(irq, dev_id); |
133 | } | 133 | } |
134 | smtc_timer_broadcast(cpu_data[cpu].vpe_id); | 134 | smtc_timer_broadcast(); |
135 | } | 135 | } |
136 | #else /* CONFIG_MIPS_MT_SMTC */ | 136 | #else /* CONFIG_MIPS_MT_SMTC */ |
137 | int r2 = cpu_has_mips_r2; | 137 | int r2 = cpu_has_mips_r2; |