]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: fix sched_clock, from Paul Mackerras:
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:17:03 +0000 (18:17 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:17:03 +0000 (18:17 -0800)
commit45738bdd883925086215df2d7cf22a2045c8c929
tree7b5fdd0eac30404c5f3c4e41077419d15ce10a20
parenteabb2c770d0e9eb36bceefb7baf553acbdbe5f59
[PATCH] ppc64: fix sched_clock, from Paul Mackerras:

From: Anton Blanchard <anton@samba.org>

Currently the sched_clock implementation for PPC64 is bogus.  It just reads
the timebase register, which counts at some fixed rate, typically around
100MHz.  This patch adds code to calculate a suitable multiplier from the
timebase frequency, and use that in sched_clock().
arch/ppc64/kernel/time.c