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

powerpc/time: Remove ifdef in get_vtb()

parent d2e00603
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -41,10 +41,9 @@ struct div_result {

static inline u64 get_vtb(void)
{
#ifdef CONFIG_PPC_BOOK3S_64
	if (cpu_has_feature(CPU_FTR_ARCH_207S))
		return mfspr(SPRN_VTB);
#endif

	return 0;
}