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
|
void
|
||||||
mtx_lock(struct mtx *mutex)
|
mtx_lock(struct mtx *mutex)
|
||||||
{
|
{
|
||||||
/* I'm not sure if this is needed or not. NetBSD kernel
|
/* XXXSMP needs doing
|
||||||
* threads aren't preempted, but there still may be a need
|
|
||||||
* for lockmgr locks.
|
|
||||||
*/
|
*/
|
||||||
//lockmgr(mutex, LK_EXCLUSIVE, NULL);
|
//mutex_enter(mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
mtx_unlock(struct mtx *mutex)
|
mtx_unlock(struct mtx *mutex)
|
||||||
{
|
{
|
||||||
//lockmgr(mutex, LK_RELEASE, NULL);
|
//mutex_exit(mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue