Re: [PATCH 1/4] cputime/powerpc: remove cputime_last_delta global variable

From: Paul Mackerras
Date: Wed Nov 02 2016 - 21:02:52 EST


On Mon, Oct 31, 2016 at 01:36:26PM +0100, Stanislaw Gruszka wrote:
> Since commit:
>
> cf9efce0ce313 ("powerpc: Account time using timebase rather than PURR")
>
> cputime_last_delta is not initialized to other value than 0, hence it's
> not used except zero check and cputime_to_scaled() just returns
> the argument.
>
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>

Yes, I should have removed them in that commit. We don't want to do
any scaling in the places where cputime_to_scaled() is used.

Acked-by: Paul Mackerras <paulus@xxxxxxxxxx>