Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03983ab8 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix sched_clock() et al.



SPARC64_NSEC_PER_CYC_SHIFT was set too high.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0479ea0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,