]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/cputime: provide archicture specific cputime_to_nsecs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 1 Mar 2017 08:21:10 +0000 (09:21 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 1 Mar 2017 08:59:27 +0000 (09:59 +0100)
commite53051e757d6cd66741955b93581e54415e48a70
treeefe58f81dfd08a4bdf043436ddbcedd73a562c0e
parent3c915bdc1775acfa214195da1ffb39dabdd1a389
s390/cputime: provide archicture specific cputime_to_nsecs

The generic cputime_to_nsecs function first converts the cputime
to micro-seconds and then multiplies the result with 1000. This
looses some bits of accuracy, provide our own version of
cputime_to_nsecs that does not loose precision.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cputime.h