Skip to content

Commit 132f94f

Browse files
chleroympe
authored andcommitted
powerpc/time: Remove get_tbl()
There are no more users of get_tbl(). Remove it. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/dd0368bfd497ffe06b31ee1b5f2ebf7760e30900.1612866360.git.christophe.leroy@csgroup.eu
1 parent 55d68df commit 132f94f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/powerpc/include/asm/vdso/timebase.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@
4343
#define mttbl(v) asm volatile("mttbl %0":: "r"(v))
4444
#define mttbu(v) asm volatile("mttbu %0":: "r"(v))
4545

46-
/* For compatibility, get_tbl() is defined as get_tb() on ppc64 */
47-
static inline unsigned long get_tbl(void)
48-
{
49-
return mftb();
50-
}
51-
5246
static __always_inline u64 get_tb(void)
5347
{
5448
unsigned int tbhi, tblo, tbhi2;

0 commit comments

Comments
 (0)