]> git.baikalelectronics.ru Git - kernel.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)
commitf9dd62760658dcf2b0f59349f78db2eb6bf157d0
tree51dc1d8b7e9b5f3ca3c5f5b51f36d1324b687420
parent22807c6271cd9aae7239e54bbe899a62c9086b6a
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