OSDN Git Service

powerpc/time: Move timebase functions into new asm/vdso/timebase.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 26 Nov 2020 13:10:00 +0000 (00:10 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:10 +0000 (01:01 +1100)
commitd26b3817d9eefae6b777739c1ea5daba5e72624e
tree04a752c94480f46bb3164c101585ec1d2604ad4e
parent8f8cffd9df81612b5b06d2c57ebf74f8961b41be
powerpc/time: Move timebase functions into new asm/vdso/timebase.h

In order to easily use get_tb() from C VDSO, move timebase
functions into a new header named asm/vdso/timebase.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201126131006.2431205-3-mpe@ellerman.id.au
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/time.h
arch/powerpc/include/asm/timex.h
arch/powerpc/include/asm/vdso/timebase.h [new file with mode: 0644]