summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_fpregs.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-07 02:06:08 +0000
committerjhb <jhb@FreeBSD.org>2001-03-07 02:06:08 +0000
commit9629364e629777a1ac591d053bbdb16b2097ede3 (patch)
tree78bf4bfeec3f89c6696684cabcb4da065143b310 /sys/fs/procfs/procfs_fpregs.c
parent5d3041fa5c0a1f1b3a9fce7a657f06f3fc947e1e (diff)
downloadFreeBSD-src-9629364e629777a1ac591d053bbdb16b2097ede3.zip
FreeBSD-src-9629364e629777a1ac591d053bbdb16b2097ede3.tar.gz
- Include <sys/systm.h> for KASSERT().
- Move the _mtx_assert() prototype up to the top of the file with the rest of the function prototypes. - Define all the mtx_foo() macros in terms of mtx_foo_flags(). - Add a KASSERT() to check for invalid options in mtx_lock_flags(). - Move the mtx_assert() to ensure a mutex is owned before releasing it in front of WITNESS_EXIT() in all the mtx_unlock_* macros. - Change the MPASS* macros to be on #ifdef INVARIANTS, not just #ifdef MUTEX_DEBUG since most of them check to see that the mutex functions are called properly. Define MPASS4() in terms of KASSERT() to do this. - Define MPASS{,[23]} in terms of MPASS4() to simplify things and avoid code duplication.
Diffstat (limited to 'sys/fs/procfs/procfs_fpregs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud