Page MenuHomeFreeBSD

D49897.id54425.diff
No OneTemporary

D49897.id54425.diff

diff --git a/sys/riscv/riscv/trap.c b/sys/riscv/riscv/trap.c
--- a/sys/riscv/riscv/trap.c
+++ b/sys/riscv/riscv/trap.c
@@ -239,7 +239,7 @@
* Enable interrupts for the duration of the page fault. For
* user faults this was done already in do_trap_user().
*/
- if ((frame->tf_sstatus & SSTATUS_SIE) != 0)
+ if ((frame->tf_sstatus & SSTATUS_SPIE) != 0)
intr_enable();
if (stval >= VM_MIN_KERNEL_ADDRESS) {

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 31, 3:05 AM (8 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27400817
Default Alt Text
D49897.id54425.diff (427 B)

Event Timeline