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

On PPC64, get_tbl() is defined as an alias of get_tb() which return
the result of mftb(). That exactly the same as what the PPC32 version
does. We don't need two versions.

Remove the PPC64 definition of get_tbl() and use the PPC32 version
for both.

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