Commit 132f94f1 authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman
Browse files

powerpc/time: Remove get_tbl()

parent 55d68df6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -43,12 +43,6 @@
#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;