Re: [PATCH 2/8] apm32: Fix cputime == jiffies assumption

From: Rik van Riel
Date: Thu Jun 11 2015 - 16:47:19 EST


On 06/11/2015 01:36 PM, Frederic Weisbecker wrote:
> 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.
>
> Cc: Christoph Lameter <cl@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc; John Stultz <john.stultz@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Preeti U Murthy <preeti@xxxxxxxxxxxxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/