aboutsummaryrefslogtreecommitdiff
path: root/pk/riscv-pk.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/riscv-pk.c')
-rw-r--r--pk/riscv-pk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pk/riscv-pk.c b/pk/riscv-pk.c
index 771982c..df6e94b 100644
--- a/pk/riscv-pk.c
+++ b/pk/riscv-pk.c
@@ -16,9 +16,6 @@ void __attribute__((section(".boottext"))) __start()
register long sr0 = SR_S | SR_PS | SR_ET | SR_IM;
#ifdef PK_ENABLE_KERNEL_64BIT
sr0 |= SR_SX;
- #ifdef PK_ENABLE_USER_64BIT
- sr0 |= SR_UX;
- #endif
#endif
mtpcr(sr0 | SR_EF, PCR_SR);