mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
You cannot require Giant to be locked when you haven't acquired it yet.
This commit is contained in:
parent
01a0ec6ced
commit
0b848380bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79334
@ -278,7 +278,10 @@ trap(a0, a1, a2, entry, framep)
|
||||
critical_exit(s);
|
||||
#endif
|
||||
|
||||
/*
|
||||
GIANT_REQUIRED;
|
||||
* Giant hasn't been acquired yet.
|
||||
*/
|
||||
|
||||
cnt.v_trap++;
|
||||
ucode = 0;
|
||||
@ -353,8 +356,7 @@ trap(a0, a1, a2, entry, framep)
|
||||
|
||||
case ALPHA_KENTRY_IF:
|
||||
/*
|
||||
* These are always fatal in kernel, and should never
|
||||
* happen.
|
||||
* These are always fatal in kernel, and should never happen.
|
||||
*/
|
||||
if (!user) {
|
||||
#ifdef DDB
|
||||
|
Loading…
Reference in New Issue
Block a user