summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-20 20:27:12 +0000
committerjhb <jhb@FreeBSD.org>2000-10-20 20:27:12 +0000
commit56efda2aa8eb6464f6106f31e59663e6f3f2ce62 (patch)
treeed34407661c78b1f48f060b00bbfb8956d5f7063 /sys/alpha/include
parent1721a457e90d387b9fdcc50a9afe285e561e6eff (diff)
downloadFreeBSD-src-56efda2aa8eb6464f6106f31e59663e6f3f2ce62.zip
FreeBSD-src-56efda2aa8eb6464f6106f31e59663e6f3f2ce62.tar.gz
Fix a braino in the ASS_SIEN() macro in the MUTEX_DEBUG case by using
mtx_saveintr instead of saveintr.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h
index 6c376f0..75c64cf 100644
--- a/sys/alpha/include/mutex.h
+++ b/sys/alpha/include/mutex.h
@@ -57,7 +57,8 @@ extern char STR_SIEN[];
== ALPHA_PSL_IPL_HIGH, STR_IEN)
#define ASS_IDIS MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \
!= ALPHA_PSL_IPL_HIGH, STR_IDIS)
-#define ASS_SIEN(mpp) MPASS2((mpp)->saveintr != ALPHA_PSL_IPL_HIGH, STR_SIEN)
+#define ASS_SIEN(mpp) MPASS2((mpp)->mtx_saveintr \
+ != ALPHA_PSL_IPL_HIGH, STR_SIEN)
/*
* Assembly macros (for internal use only)
OpenPOWER on IntegriCloud