]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Fix sched_clock() et al.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 18 May 2007 05:55:26 +0000 (22:55 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 18 May 2007 05:55:26 +0000 (22:55 -0700)
SPARC64_NSEC_PER_CYC_SHIFT was set too high.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/time.c

index 6b9a06e425423ed413aebc5744109a66905774a9..2d63d7689962edba455edfe4c44e45eb72ef708c 100644 (file)
@@ -1030,7 +1030,7 @@ void __devinit setup_sparc64_timer(void)
        clockevents_register_device(sevt);
 }
 
-#define SPARC64_NSEC_PER_CYC_SHIFT     32UL
+#define SPARC64_NSEC_PER_CYC_SHIFT     10UL
 
 static struct clocksource clocksource_tick = {
        .rating         = 100,