mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
[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…
x
Reference in New Issue
Block a user