• Andrew Morton's avatar
    [PATCH] ppc64: fix sched_clock, from Paul Mackerras: · 45738bdd
    Andrew Morton authored
    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().
    45738bdd
time.c 23.4 KB