[SPARC64]: Fix sched_clock() et al.
SPARC64_NSEC_PER_CYC_SHIFT was set too high. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0479ea0eab
commit
03983ab858
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue