powerpc: make facility_unavailable_exception 64s
authorRashmica Gupta <rashmica@linux.ibm.com>
Fri, 17 Jun 2022 04:28:05 +0000 (14:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:14 +0000 (16:22 +1000)
commitfcdb758ce113c5d1b2b7034a058a9c472e42415e
tree425d1a7dc5b5f9d09ff12ba999d61f561f5375e2
parent95b002e4e47a36d88deec70808ef36674fb33cf5
powerpc: make facility_unavailable_exception 64s

The facility unavailable exception is only available on ppc book3s
machines so use CONFIG_PPC_BOOK3S_64 rather than CONFIG_PPC64.
tm_unavailable is only called from facility_unavailable_exception so can
also be under this Kconfig symbol.

Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220617042805.426231-1-rashmica@linux.ibm.com
arch/powerpc/kernel/traps.c