diff options
author | jhb <jhb@FreeBSD.org> | 2001-02-22 15:45:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-02-22 15:45:49 +0000 |
commit | 41a6853d24dc7bdba9567ff11c55dd9d9fec86ea (patch) | |
tree | 919efa9c050d8679b7f11ac954617325c46cecbb /sys/i386/include/mutex.h | |
parent | ed7d3539ba9a161ab191beed2d1e4e38859570c8 (diff) | |
download | FreeBSD-src-41a6853d24dc7bdba9567ff11c55dd9d9fec86ea.zip FreeBSD-src-41a6853d24dc7bdba9567ff11c55dd9d9fec86ea.tar.gz |
GC unused and now obsolete assertion macros.
Diffstat (limited to 'sys/i386/include/mutex.h')
-rw-r--r-- | sys/i386/include/mutex.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/i386/include/mutex.h b/sys/i386/include/mutex.h index f0bbadb..a5f88de 100644 --- a/sys/i386/include/mutex.h +++ b/sys/i386/include/mutex.h @@ -40,14 +40,6 @@ /* Global locks */ extern struct mtx clock_lock; -/* - * Debugging - */ -#define ASS_IEN MPASS2(read_eflags() & PSL_I, "fl & PSL_I") -#define ASS_IDIS MPASS2((read_eflags() & PSL_I) == 0, "!(fl & PSL_I)") -#define ASS_SIEN(mpp) MPASS2((mpp)->mtx_saveintr & PSL_I, \ - "mpp->mtx_saveintr & PSL_I") - #define mtx_legal2block() (read_eflags() & PSL_I) #define mtx_intr_enable(mutex) (mutex)->mtx_saveintr |= PSL_I |