Don't release Giant for db_nofault exceptions since it isn't held when

kdb_trap is called.
This commit is contained in:
Doug Rabson 2000-09-14 13:04:38 +00:00
parent 3e8d5c239e
commit c090a2b4e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65835

View file

@ -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);
}
}