• Frederic Weisbecker's avatar
    alpha: Fix jiffies based cputime assumption · 2019e8a3
    Frederic Weisbecker authored
    That code wrongly assumes that cputime_t wraps jiffies_t. Lets use
    the correct accessors/mutators.
    
    In practice there should be no harm yet because alpha currently
    only support tick based cputime accounting which is always jiffies
    based.
    Reviewed-by: default avatarRik van Riel <riel@redhat.com>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc; John Stultz <john.stultz@linaro.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    2019e8a3
osf_sys.c 34.4 KB