diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-02-22 15:43:42 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-02-22 15:43:42 +0000 |
| commit | 5f78859e9a1976a38451fa2e11c41140339347d4 (patch) | |
| tree | 45579e1ab52e9b149a00cdb3f7db0c9c740e3067 /sys/ia64 | |
| parent | 409b7113a1da23983e129ee46cf7766a17735fbf (diff) | |
Notes
Diffstat (limited to 'sys/ia64')
| -rw-r--r-- | sys/ia64/include/mutex.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/ia64/include/mutex.h b/sys/ia64/include/mutex.h index e4b82df20679..809a56eb7377 100644 --- a/sys/ia64/include/mutex.h +++ b/sys/ia64/include/mutex.h @@ -38,16 +38,7 @@ #ifdef _KERNEL -/* - * Debugging - */ -#ifdef MUTEX_DEBUG -#define ASS_IEN MPASS2((save_intr() & IA64_PSR_I), "psr.i") -#define ASS_IDIS MPASS2(!(save_intr() & IA64_PSR_I), "!psr.i") -#define ASS_SIEN(mpp) MPASS2(((mpp)->mtx_saveintr & IA64_PSR_I), \ - "mpp->mtx_saveintr & IA64_PSR_I") - -#define mtx_legal2block() (save_intr() & IA64_PSR_I) +#define mtx_legal2block() (ia64_get_psr() & IA64_PSR_I) #define mtx_intr_enable(mutex) (mutex)->mtx_saveintr |= IA64_PSR_I #endif /* _KERNEL */ |
