diff options
author | Rashmica Gupta <rashmica@linux.ibm.com> | 2022-06-17 14:28:05 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-28 16:22:14 +1000 |
commit | fcdb758ce113c5d1b2b7034a058a9c472e42415e (patch) | |
tree | 425d1a7dc5b5f9d09ff12ba999d61f561f5375e2 /arch/powerpc | |
parent | 95b002e4e47a36d88deec70808ef36674fb33cf5 (diff) | |
download | linux-stable-fcdb758ce113c5d1b2b7034a058a9c472e42415e.tar.gz linux-stable-fcdb758ce113c5d1b2b7034a058a9c472e42415e.tar.bz2 linux-stable-fcdb758ce113c5d1b2b7034a058a9c472e42415e.zip |
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
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 3aaa50e5c72f..dadfcef5d6db 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -1676,7 +1676,7 @@ DEFINE_INTERRUPT_HANDLER(vsx_unavailable_exception) die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT); } -#ifdef CONFIG_PPC64 +#ifdef CONFIG_PPC_BOOK3S_64 static void tm_unavailable(struct pt_regs *regs) { #ifdef CONFIG_PPC_TRANSACTIONAL_MEM |