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

2016-11-14 Thread Frederic Weisbecker
From: Stanislaw Gruszka 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. Acked-by:

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

2016-11-14 Thread Frederic Weisbecker
From: Stanislaw Gruszka 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. Acked-by: Paul Mackerras

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

2016-11-02 Thread Paul Mackerras
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

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

2016-11-02 Thread Paul Mackerras
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

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

2016-10-31 Thread Stanislaw Gruszka
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 ---

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

2016-10-31 Thread Stanislaw Gruszka
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 ---