Skip to content

Commit 9a3ed7a

Browse files
chleroympe
authored andcommitted
powerpc/interrupt: Fix CONFIG ifdef typo
CONFIG_PPC_BOOK3S should be CONFIG_PPC_BOOK3S_64. restore_math is a no-op for other configurations. Signed-off-by: Christophe Leroy <[email protected]> [np: split from another patch] Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ffaacd9 commit 9a3ed7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kernel/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ notrace unsigned long syscall_exit_prepare(unsigned long r3,
303303
ti_flags = READ_ONCE(current_thread_info()->flags);
304304
}
305305

306-
if (IS_ENABLED(CONFIG_PPC_BOOK3S) && IS_ENABLED(CONFIG_PPC_FPU)) {
306+
if (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && IS_ENABLED(CONFIG_PPC_FPU)) {
307307
if (IS_ENABLED(CONFIG_PPC_TRANSACTIONAL_MEM) &&
308308
unlikely((ti_flags & _TIF_RESTORE_TM))) {
309309
restore_tm_state(regs);

0 commit comments

Comments
 (0)