powerpc/32s: use CONFIG_PPC_BOOK3S_601 instead of reading PVR
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 26 Aug 2019 15:52:17 +0000 (15:52 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Aug 2019 13:19:33 +0000 (23:19 +1000)
commit39097b9c6d762d3fcd6f753e05ee3e34ec250ff3
tree124d703eb8ef3b66bb7e90a2aea1c58860807a93
parent88fb309409ab454b497a6abb0f931ce3b6d9969c
powerpc/32s: use CONFIG_PPC_BOOK3S_601 instead of reading PVR

Use CONFIG_PPC_BOOK3S_601 instead of reading PVR to know if
it is a 601 or not.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/909c26db9facd7fe454695b303f952e019dd9eda.1566834712.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/misc_32.S