diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-18 01:55:26 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-18 01:55:26 -0400 |
commit | 03983ab858ae6aea273060277c9b290498340047 (patch) | |
tree | 4858b626bb886d2f2bb93409608f544f52dc070e | |
parent | 0479ea0eab197b3e5d4c731f526c02e5e3fbfbd0 (diff) |
[SPARC64]: Fix sched_clock() et al.
SPARC64_NSEC_PER_CYC_SHIFT was set too high.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc64/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 6b9a06e42542..2d63d7689962 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -1030,7 +1030,7 @@ void __devinit setup_sparc64_timer(void) | |||
1030 | clockevents_register_device(sevt); | 1030 | clockevents_register_device(sevt); |
1031 | } | 1031 | } |
1032 | 1032 | ||
1033 | #define SPARC64_NSEC_PER_CYC_SHIFT 32UL | 1033 | #define SPARC64_NSEC_PER_CYC_SHIFT 10UL |
1034 | 1034 | ||
1035 | static struct clocksource clocksource_tick = { | 1035 | static struct clocksource clocksource_tick = { |
1036 | .rating = 100, | 1036 | .rating = 100, |