Page MenuHomeFreeBSD

D49897.id153946.diff
No OneTemporary

D49897.id153946.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, Nov 26, 9:48 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26214947
Default Alt Text
D49897.id153946.diff (427 B)

Event Timeline