summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-30 15:24:51 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-11-02 17:13:46 +0100
commit1d0a909cfc41f17175023b939b28322e427746b4 (patch)
treec6451b458ad8658e03500532435c9d794a1ba063
parent[MIPS] IP32: Fix address of 2nd serial interface. (diff)
downloadlinux-1d0a909cfc41f17175023b939b28322e427746b4.tar.xz
linux-1d0a909cfc41f17175023b939b28322e427746b4.zip
[MIPS] time: Remove now unused local_timer_interrupt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/time.c16
-rw-r--r--include/asm-mips/time.h5
2 files changed, 0 insertions, 21 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)
int (*mips_timer_state)(void);
-/*
- * local_timer_interrupt() does profiling and process accounting
- * on a per-CPU basis.
- *
- * In UP mode, it is invoked from the (global) timer_interrupt.
- *
- * In SMP mode, it might invoked by per-CPU timer interrupt, or
- * a broadcasted inter-processor interrupt which itself is triggered
- * by the global timer interrupt.
- */
-void local_timer_interrupt(int irq, void *dev_id)
-{
- profile_tick(CPU_PROFILING);
- update_process_times(user_mode(get_irq_regs()));
-}
-
int null_perf_irq(void)
{
return 0;
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h
index 0a6bc7dc158e..a45f24a9ea66 100644
--- a/include/asm-mips/time.h
+++ b/include/asm-mips/time.h
@@ -49,11 +49,6 @@ extern int (*mips_timer_state)(void);
extern struct clocksource clocksource_mips;
/*
- * profiling and process accouting is done separately in local_timer_interrupt
- */
-extern void local_timer_interrupt(int irq, void *dev_id);
-
-/*
* board specific routines required by time_init().
*/
struct irqaction;