From 1a900329b0d0b761298eb0df9d2a879c1ea33cd8 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Fri, 6 Jun 2003 14:44:13 +0000 Subject: [PATCH] Fix timer code. --- src/arch/ppc/lib/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/ppc/lib/timer.c b/src/arch/ppc/lib/timer.c index 316e78224e..8f968f1a5f 100644 --- a/src/arch/ppc/lib/timer.c +++ b/src/arch/ppc/lib/timer.c @@ -7,13 +7,13 @@ unsigned get_hz(void) { - return bsp_clock_speed() >> 16; + return bsp_clock_speed(); } unsigned ticks_since_boot(void) { extern unsigned long long _timebase(void); - return (unsigned) (_timebase() >> 16); + return (unsigned) (_timebase()); } void sleep_ticks(unsigned ticks)