]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/cputime: simplify account_system_index_scaled
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 May 2017 13:31:38 +0000 (15:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:25:57 +0000 (16:25 +0200)
commitb29e061bb7a8d2e2fbf7826fb30ab5477d595e92
treef24bdacdd6d680ed7549f1d0804560b2e7850204
parent6c386da799078fddb482bc5c1ab6a62c9a360e4e
s390/cputime: simplify account_system_index_scaled

The account_system_index_scaled gets two cputime values, a raw value
derived from CPU timer deltas and a scaled value. The scaled value
is always calculated from the raw value, the code can be simplified
by moving the scale_vtime call into account_system_index_scaled.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vtime.c