aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/nohash/kup.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2024-06-28 22:11:58 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2024-06-28 22:28:47 +1000
commit732b32daef80567a7ef5be3d87ae79b6bfd9d82d (patch)
tree99d25c29d881722329d0047693b25d9099c7fc3f /arch/powerpc/mm/nohash/kup.c
parente939da89d024a0de66b0270f1f1fab5fc44c74dd (diff)
powerpc: Remove core support for 40x
Now that 40x platforms have gone, remove support for 40x in the core of powerpc arch. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240628121201.130802-4-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/mm/nohash/kup.c')
-rw-r--r--arch/powerpc/mm/nohash/kup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/mm/nohash/kup.c b/arch/powerpc/mm/nohash/kup.c
index e1f7de2e54ec..c20c4f357fbf 100644
--- a/arch/powerpc/mm/nohash/kup.c
+++ b/arch/powerpc/mm/nohash/kup.c
@@ -15,8 +15,6 @@
void setup_kuap(bool disabled)
{
if (disabled) {
- if (IS_ENABLED(CONFIG_40x))
- disable_kuep = true;
if (smp_processor_id() == boot_cpuid)
cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP;
return;