]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc: Add cputime_to_nsecs()
authorAnton Blanchard <anton@ozlabs.org>
Mon, 13 Jul 2020 08:36:01 +0000 (18:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:43 +0000 (13:12 +1000)
commitade7667a981be49af9310f7c682c226283ec833d
tree51dc1d8b7e9b5f3ca3c5f5b51f36d1324b687420
parente4208f1399b1bf7ed84ba359a6ba0979d1df4029
powerpc: Add cputime_to_nsecs()

Generic code has a wrapper to implement cputime_to_nsecs() on top of
cputime_to_usecs() but we can easily return the full nanosecond
resolution directly.

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200713083601.1103978-1-anton@ozlabs.org
arch/powerpc/include/asm/cputime.h