Return to kern_lock.c CVS log | Up to [cvs.NetBSD.org] / src / sys / kern |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.60, 2001/11/12 15:25:11 | version 1.61, 2002/05/11 11:56:57 | ||
---|---|---|---|
|
|
||
else { | else { | ||
if (p == NULL) { | if (p == NULL) { | ||
if (!doing_shutdown) { | if (!doing_shutdown) { | ||
#ifdef DIAGNOSTIC | |||
panic("lockmgr: no context"); | panic("lockmgr: no context"); | ||
#endif | |||
} else { | } else { | ||
p = &proc0; | p = &proc0; | ||
if (panicstr && (!(flags & LK_NOWAIT))) { | if (panicstr && (!(flags & LK_NOWAIT))) { |