• Frederic Weisbecker's avatar
    apm32: Fix cputime == jiffies assumption · 031a7f45
    Frederic Weisbecker authored
    That code wrongly assumes that cputime_t wraps jiffies_t. Lets use
    the correct accessors/mutators.
    
    No real harm now as that code can't be used with full dynticks.
    Reviewed-by: default avatarRik van Riel <riel@redhat.com>
    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>
    031a7f45
apm_32.c 69 KB