aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/lib/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/interrupts.c')
-rw-r--r--arch/sparc/lib/interrupts.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sparc/lib/interrupts.c b/arch/sparc/lib/interrupts.c
index 5274311a640..61ee90b6d41 100644
--- a/arch/sparc/lib/interrupts.c
+++ b/arch/sparc/lib/interrupts.c
@@ -90,11 +90,6 @@ void timer_interrupt(struct pt_regs *regs)
timestamp++;
}
-void reset_timer(void)
-{
- timestamp = 0;
-}
-
ulong get_timer(ulong base)
{
return (timestamp - base);
@@ -104,7 +99,7 @@ void timer_interrupt_init(void)
{
int irq;
- reset_timer();
+ timestamp = 0;
irq = timer_interrupt_init_cpu();