diff options
author | mux <mux@FreeBSD.org> | 2004-05-22 13:06:38 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2004-05-22 13:06:38 +0000 |
commit | fa099ba5b071e63bd2d1e78cd1427aa99c28c707 (patch) | |
tree | 9d08771c4158406ba8d37b340dcb684e716133a3 /sys/pci/agppriv.h | |
parent | ce5e2c9dde72f7d687d6d56da86bbcdb5c202901 (diff) | |
download | FreeBSD-src-fa099ba5b071e63bd2d1e78cd1427aa99c28c707.zip FreeBSD-src-fa099ba5b071e63bd2d1e78cd1427aa99c28c707.tar.gz |
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.
Diffstat (limited to 'sys/pci/agppriv.h')
-rw-r--r-- | sys/pci/agppriv.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |