提交 03983ab8 编写于 作者: D David S. Miller

[SPARC64]: Fix sched_clock() et al.

SPARC64_NSEC_PER_CYC_SHIFT was set too high.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0479ea0e
...@@ -1030,7 +1030,7 @@ void __devinit setup_sparc64_timer(void) ...@@ -1030,7 +1030,7 @@ void __devinit setup_sparc64_timer(void)
clockevents_register_device(sevt); clockevents_register_device(sevt);
} }
#define SPARC64_NSEC_PER_CYC_SHIFT 32UL #define SPARC64_NSEC_PER_CYC_SHIFT 10UL
static struct clocksource clocksource_tick = { static struct clocksource clocksource_tick = {
.rating = 100, .rating = 100,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册