From 4769be21cca65f1e7bef27bc024d886842bc6bad Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Fri, 15 Jul 2011 02:19:44 +0000 Subject: Timer: Remove reset_timer() for non-Nios2 arches --- arch/sparc/lib/interrupts.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'arch/sparc/lib/interrupts.c') diff --git a/arch/sparc/lib/interrupts.c b/arch/sparc/lib/interrupts.c index 5274311..61ee90b 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(); -- cgit v1.1