aboutsummaryrefslogtreecommitdiff
path: root/pk/riscv-pk.S
diff options
context:
space:
mode:
Diffstat (limited to 'pk/riscv-pk.S')
-rw-r--r--pk/riscv-pk.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/riscv-pk.S b/pk/riscv-pk.S
index a27df82..f1fe216 100644
--- a/pk/riscv-pk.S
+++ b/pk/riscv-pk.S
@@ -13,7 +13,7 @@ _start:
add t0, t0, %lo(trap_entry)
mtpcr t0, ASM_CR(PCR_EVEC)
- li t0, SR_S | SR_PS | SR_ET | SR_EC | SR_SX
+ li t0, SR_S | SR_PS | SR_ET | SR_EC | SR_S64
or t1, t0, SR_EF | SR_EV
mtpcr t1, ASM_CR(PCR_SR)
mfpcr t1, ASM_CR(PCR_SR)