aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-10 02:15:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-10 02:15:18 +0000
commite109e2b4cd80d6e07208dcb1fad6d75bda75036a (patch)
tree04abd5661c491a2f0b940091bc3bb23c29e47b8f /sys/alpha/include
parentd2712eafa7753150817960bc8544328b2db1178d (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h
index 564ad191cca3..2c1a302d1e8d 100644
--- a/sys/alpha/include/mutex.h
+++ b/sys/alpha/include/mutex.h
@@ -48,6 +48,7 @@
#define mtx_legal2block() \
((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_0)
+#define mtx_intr_enable(mutex) (mutex)->mtx_saveintr = ALPHA_PSL_IPL_0
/*
* Assembly macros (for internal use only)