aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-30 10:24:51 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-11-02 12:13:46 -0400
commit1d0a909cfc41f17175023b939b28322e427746b4 (patch)
treec6451b458ad8658e03500532435c9d794a1ba063 /arch/mips/kernel
parent81b635ef368d994a86f20c0ea5a82f45045da1e9 (diff)
[MIPS] time: Remove now unused local_timer_interrupt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/time.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index 27228f583dae..622379b201aa 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -80,22 +80,6 @@ static cycle_t c0_hpt_read(void)
80 80
81int (*mips_timer_state)(void); 81int (*mips_timer_state)(void);
82 82
83/*
84 * local_timer_interrupt() does profiling and process accounting
85 * on a per-CPU basis.
86 *
87 * In UP mode, it is invoked from the (global) timer_interrupt.
88 *
89 * In SMP mode, it might invoked by per-CPU timer interrupt, or
90 * a broadcasted inter-processor interrupt which itself is triggered
91 * by the global timer interrupt.
92 */
93void local_timer_interrupt(int irq, void *dev_id)
94{
95 profile_tick(CPU_PROFILING);
96 update_process_times(user_mode(get_irq_regs()));
97}
98
99int null_perf_irq(void) 83int null_perf_irq(void)
100{ 84{
101 return 0; 85 return 0;