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/avr32/cpu/interrupts.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/avr32') diff --git a/arch/avr32/cpu/interrupts.c b/arch/avr32/cpu/interrupts.c index 8406f91..6681e13 100644 --- a/arch/avr32/cpu/interrupts.c +++ b/arch/avr32/cpu/interrupts.c @@ -62,13 +62,6 @@ unsigned long long get_ticks(void) return ((unsigned long long)hi_now << 32) | lo; } -void reset_timer(void) -{ - sysreg_write(COUNT, 0); - cpu_sync_pipeline(); /* process any pending interrupts */ - timer_overflow = 0; -} - unsigned long get_timer(unsigned long base) { u64 now = get_ticks(); -- cgit v1.1