Don't release Giant for db_nofault exceptions since it isn't held when
kdb_trap is called.
This commit is contained in:
parent
3e8d5c239e
commit
c090a2b4e5
@ -181,7 +181,6 @@ kdb_trap(a0, a1, a2, entry, regs)
|
||||
if (db_nofault) {
|
||||
jmp_buf *no_fault = db_nofault;
|
||||
db_nofault = 0;
|
||||
mtx_exit(&Giant, MTX_DEF);
|
||||
longjmp(*no_fault, 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user