From 78090667c05d2826258ec88bf4cad9db2d56894b Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 5 Dec 2007 08:34:41 +0000 Subject: [PATCH] Kill ref to lockmgr in comments (for grep). --- sys/compat/ndis/nbcompat.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/compat/ndis/nbcompat.c b/sys/compat/ndis/nbcompat.c index 35968cc71c2f..c277e46b8124 100644 --- a/sys/compat/ndis/nbcompat.c +++ b/sys/compat/ndis/nbcompat.c @@ -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. - */ - //lockmgr(mutex, LK_EXCLUSIVE, NULL); + /* XXXSMP needs doing + */ + //mutex_enter(mutex); } void mtx_unlock(struct mtx *mutex) { - //lockmgr(mutex, LK_RELEASE, NULL); + //mutex_exit(mutex); } int