projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0479ea0
)
[SPARC64]: Fix sched_clock() et al.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 18 May 2007 05:55:26 +0000
(22:55 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/time.c
b/arch/sparc64/kernel/time.c
index 6b9a06e425423ed413aebc5744109a66905774a9..2d63d7689962edba455edfe4c44e45eb72ef708c 100644
(file)
--- a/
arch/sparc64/kernel/time.c
+++ b/
arch/sparc64/kernel/time.c
@@
-1030,7
+1030,7
@@
void __devinit setup_sparc64_timer(void)
clockevents_register_device(sevt);
}
-#define SPARC64_NSEC_PER_CYC_SHIFT
32
UL
+#define SPARC64_NSEC_PER_CYC_SHIFT
10
UL
static struct clocksource clocksource_tick = {
.rating = 100,