Skip to content

Commit

Permalink
[SPARC64]: Fix sched_clock() et al.
Browse files Browse the repository at this point in the history
SPARC64_NSEC_PER_CYC_SHIFT was set too high.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 18, 2007
1 parent 0479ea0 commit 03983ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 03983ab

Please sign in to comment.