From fa099ba5b071e63bd2d1e78cd1427aa99c28c707 Mon Sep 17 00:00:00 2001 From: mux Date: Sat, 22 May 2004 13:06:38 +0000 Subject: Get rid of a lockmgr consumer by making agp(4) use a standard mutex, since it's always acquiring the lock exclusively. This was tested with X on an SMP box, with and without WITNESS. --- sys/pci/agppriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pci/agppriv.h') diff --git a/sys/pci/agppriv.h b/sys/pci/agppriv.h index 1c5f022..6ba4ed6 100644 --- a/sys/pci/agppriv.h +++ b/sys/pci/agppriv.h @@ -76,7 +76,7 @@ struct agp_softc { int as_nextid; /* next memory block id */ int as_isopen; /* user device is open */ dev_t as_devnode; /* from make_dev */ - struct lock as_lock; /* lock for access to GATT */ + struct mtx as_lock; /* lock for access to GATT */ }; struct agp_gatt { -- cgit v1.1