summaryrefslogtreecommitdiff
path: root/arch/sparc/lib
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-07-15 02:19:44 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:53:30 +0200
commit4769be21cca65f1e7bef27bc024d886842bc6bad (patch)
tree47053c2ed79e6e43b1b6fd49b585fe53028ff6a5 /arch/sparc/lib
parente110c4fe44edc34addee4839a1d20c0fbb076ad4 (diff)
downloadu-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.zip
u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.gz
u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.bz2
Timer: Remove reset_timer() for non-Nios2 arches
Diffstat (limited to 'arch/sparc/lib')
-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 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();