You cannot require Giant to be locked when you haven't acquired it yet.

This commit is contained in:
Matt Jacob 2001-07-05 16:55:50 +00:00
parent 01a0ec6ced
commit 0b848380bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79334

View File

@ -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