powerpc/time: Make get_tb() common to PPC32 and PPC64
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 1 Oct 2020 12:42:44 +0000 (12:42 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Oct 2020 10:17:16 +0000 (21:17 +1100)
commit9686e431c683ee7b8aca0f3985c244aee3d9f30d
tree18d49f6c9a6591f903bd2600056084f63e971a93
parent1156a6285cd38e5a6987ddee3758e7954c56cb3d
powerpc/time: Make get_tb() common to PPC32 and PPC64

mftbu() is always defined now, so the #ifdef can be removed
and replaced by an IS_ENABLED(CONFIG_PPC64) inside the
PPC32 version of get_tb().

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