[PATCH 1/4] cputime/powerpc: remove cputime_last_delta global variable
Paul Mackerras
paulus at ozlabs.org
Thu Nov 3 11:50:38 AEDT 2016
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 at 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 at ozlabs.org>
More information about the Linuxppc-dev
mailing list