summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 15:37:57 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 15:37:57 +0000
commit57e83d23b7fb4cd51a38f8a279b74fbc565edcbb (patch)
treed19a0c520b277398543c03c31b68b24777fac683
parent107493c81a1a16df32b5c4b8b0a75f021131fd0d (diff)
downloadFreeBSD-src-57e83d23b7fb4cd51a38f8a279b74fbc565edcbb.zip
FreeBSD-src-57e83d23b7fb4cd51a38f8a279b74fbc565edcbb.tar.gz
Add a mtx_intr_enable() macro.
-rw-r--r--sys/ia64/include/mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ia64/include/mutex.h b/sys/ia64/include/mutex.h
index 0e0173c..e4b82df 100644
--- a/sys/ia64/include/mutex.h
+++ b/sys/ia64/include/mutex.h
@@ -48,6 +48,7 @@
"mpp->mtx_saveintr & IA64_PSR_I")
#define mtx_legal2block() (save_intr() & IA64_PSR_I)
+#define mtx_intr_enable(mutex) (mutex)->mtx_saveintr |= IA64_PSR_I
#endif /* _KERNEL */
OpenPOWER on IntegriCloud