mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65835
|
@ -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 a new issue