diff options
author | marius <marius@FreeBSD.org> | 2005-02-18 15:37:34 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-02-18 15:37:34 +0000 |
commit | 0c6289b326e3c9c97bb3fc8229f6893e40caf5de (patch) | |
tree | 41bcbc97d4e4e314790f3ac87cf65e02074216a0 /sys/sparc64/include | |
parent | 16ce0eb32df576165185382552b92a827b589570 (diff) | |
download | FreeBSD-src-0c6289b326e3c9c97bb3fc8229f6893e40caf5de.zip FreeBSD-src-0c6289b326e3c9c97bb3fc8229f6893e40caf5de.tar.gz |
Silence witness warnings about duplicate pmap lock emitted since
rev. 1.145 of sys/sparc64/sparc64/pmap.c.
Submitted by: alc
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index 0b775ca..049968a 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -71,7 +71,7 @@ struct pmap { mtx_assert(&(pmap)->pm_mtx, (type)) #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx) #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \ - NULL, MTX_DEF) + NULL, MTX_DEF | MTX_DUPOK) #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx) #define PMAP_MTX(pmap) (&(pmap)->pm_mtx) #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx) |