summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/mutex.h')
-rw-r--r--sys/i386/include/mutex.h8
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
OpenPOWER on IntegriCloud