aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/nohash/kup.c
diff options
context:
space:
mode:
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;