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

Paul Mackerras
2016-11-03T00:50:38Z

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@redhat.com>

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@ozlabs.org>