]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ee53141929b586f3770285253e8a5204f58e472
tree04a752c94480f46bb3164c101585ec1d2604ad4e
parent7f509bb8b41a950e4ed92dd87c6af89bf0ffd768
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]