Correct a recursion on non-recursive mutex in drm_addmap from radeon's
authorEric Anholt <anholt@freebsd.org>
Tue, 8 Nov 2005 01:12:08 +0000 (01:12 +0000)
committerEric Anholt <anholt@freebsd.org>
Tue, 8 Nov 2005 01:12:08 +0000 (01:12 +0000)
commit145b23b55220bdfc6639d3279ad96310faa650a3
tree1745a9a88913e2e75a616a110a17acc651d881cf
parent3fce085e13d6559adaed98420c35a1313636cff5
Correct a recursion on non-recursive mutex in drm_addmap from radeon's
    firstopen, by making drm_addmap require the drm device lock to be held.
    Also, make matching of kernel maps match linux by requiring shm matches
    to have the contains_lock flag set if the offset doesn't match.
bsd-core/drm_bufs.c