diff options
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/mutex.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/include/mutex.h b/sys/amd64/include/mutex.h index f0bbadb..a5f88de 100644 --- a/sys/amd64/include/mutex.h +++ b/sys/amd64/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 |