summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/ptrace.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-06-28 14:11:59 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2024-06-28 14:28:48 +0200
commit002b27a51b364a59eac99b8d080afe3924c2e064 (patch)
treeef768228ca7ff7070a19b5c1d680b4b37e37e3d8 /arch/powerpc/include/asm/ptrace.h
parentpowerpc: Remove core support for 40x (diff)
downloadlinux-002b27a51b364a59eac99b8d080afe3924c2e064.tar.xz
linux-002b27a51b364a59eac99b8d080afe3924c2e064.zip
powerpc/4xx: Remove CONFIG_BOOKE_OR_40x
Now that 40x is gone, replace CONFIG_BOOKE_OR_40x by CONFIG_BOOKE. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240628121201.130802-5-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/include/asm/ptrace.h')
-rw-r--r--arch/powerpc/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h
index ea8f91fbc62f..7b9350756875 100644
--- a/arch/powerpc/include/asm/ptrace.h
+++ b/arch/powerpc/include/asm/ptrace.h
@@ -310,7 +310,7 @@ static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
static inline bool cpu_has_msr_ri(void)
{
- return !IS_ENABLED(CONFIG_BOOKE_OR_40x);
+ return !IS_ENABLED(CONFIG_BOOKE);
}
static inline bool regs_is_unrecoverable(struct pt_regs *regs)