powerpc/time: Remove get_tbl()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 9 Feb 2021 10:26:23 +0000 (10:26 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:13 +0000 (23:35 +1100)
There are no more users of get_tbl(). Remove it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/dd0368bfd497ffe06b31ee1b5f2ebf7760e30900.1612866360.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/vdso/timebase.h

index 881f655caa0a99f101dfc817e2034d5f69df1632..891c9d5eaabe10e494013271491ff3a72a813b6a 100644 (file)
 #define mttbl(v)       asm volatile("mttbl %0":: "r"(v))
 #define mttbu(v)       asm volatile("mttbu %0":: "r"(v))
 
-/* For compatibility, get_tbl() is defined as get_tb() on ppc64 */
-static inline unsigned long get_tbl(void)
-{
-       return mftb();
-}
-
 static __always_inline u64 get_tb(void)
 {
        unsigned int tbhi, tblo, tbhi2;