Kill ref to lockmgr in comments (for grep).
This commit is contained in:
parent
a5bdf04ea6
commit
78090667c0
|
@ -51,17 +51,15 @@ bus_release_resource(device_t dev, int type, int rid,
|
|||
void
|
||||
mtx_lock(struct mtx *mutex)
|
||||
{
|
||||
/* I'm not sure if this is needed or not. NetBSD kernel
|
||||
* threads aren't preempted, but there still may be a need
|
||||
* for lockmgr locks.
|
||||
/* XXXSMP needs doing
|
||||
*/
|
||||
//lockmgr(mutex, LK_EXCLUSIVE, NULL);
|
||||
//mutex_enter(mutex);
|
||||
}
|
||||
|
||||
void
|
||||
mtx_unlock(struct mtx *mutex)
|
||||
{
|
||||
//lockmgr(mutex, LK_RELEASE, NULL);
|
||||
//mutex_exit(mutex);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue