summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/include/mutex.h4
-rw-r--r--sys/powerpc/include/mutex.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h
index 759e952..b95ba16 100644
--- a/sys/alpha/include/mutex.h
+++ b/sys/alpha/include/mutex.h
@@ -223,9 +223,9 @@ char STR_IDIS[] = "!(fl & 0x200)";
extern char STR_IEN[];
extern char STR_IDIS[];
#endif /* MTX_STRS */
-#define ASS_IEN MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK)
+#define ASS_IEN MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK) \
== ALPHA_PSL_IPL_HIGH, STR_IEN)
-#define ASS_IDIS MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK)
+#define ASS_IDIS MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK) \
!= ALPHA_PSL_IPL_HIGH, STR_IDIS)
#endif /* INVARIANTS */
diff --git a/sys/powerpc/include/mutex.h b/sys/powerpc/include/mutex.h
index 759e952..b95ba16 100644
--- a/sys/powerpc/include/mutex.h
+++ b/sys/powerpc/include/mutex.h
@@ -223,9 +223,9 @@ char STR_IDIS[] = "!(fl & 0x200)";
extern char STR_IEN[];
extern char STR_IDIS[];
#endif /* MTX_STRS */
-#define ASS_IEN MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK)
+#define ASS_IEN MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK) \
== ALPHA_PSL_IPL_HIGH, STR_IEN)
-#define ASS_IDIS MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK)
+#define ASS_IDIS MPASS2((alpha_pal_rdps & ALPHA_PSL_IPL_MASK) \
!= ALPHA_PSL_IPL_HIGH, STR_IDIS)
#endif /* INVARIANTS */
OpenPOWER on IntegriCloud