diff options
| -rw-r--r-- | sys/alpha/include/mutex.h | 12 | ||||
| -rw-r--r-- | sys/powerpc/include/mutex.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h index 72d3b7b73401..5c37f54296cd 100644 --- a/sys/alpha/include/mutex.h +++ b/sys/alpha/include/mutex.h @@ -42,9 +42,9 @@ #ifdef MUTEX_DEBUG #ifdef _KERN_MUTEX_C_ -char STR_IEN[] = "ps & IPL != IPL_HIGH"; +char STR_IEN[] = "ps & IPL == IPL_0"; char STR_IDIS[] = "ps & IPL == IPL_HIGH"; -char STR_SIEN[] = "mpp->mtx_saveintr != IPL_HIGH"; +char STR_SIEN[] = "mpp->mtx_saveintr == IPL_0"; #else /* _KERN_MUTEX_C_ */ extern char STR_IEN[]; extern char STR_IDIS[]; @@ -54,14 +54,14 @@ extern char STR_SIEN[]; #endif /* MUTEX_DEBUG */ #define ASS_IEN MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \ - == ALPHA_PSL_IPL_HIGH, STR_IEN) + == ALPHA_PSL_IPL_0, STR_IEN) #define ASS_IDIS MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \ - != ALPHA_PSL_IPL_HIGH, STR_IDIS) + == ALPHA_PSL_IPL_HIGH, STR_IDIS) #define ASS_SIEN(mpp) MPASS2((mpp)->mtx_saveintr \ - != ALPHA_PSL_IPL_HIGH, STR_SIEN) + == ALPHA_PSL_IPL_0, STR_SIEN) #define mtx_legal2block() \ - ((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_HIGH) + ((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_0) /* * Assembly macros (for internal use only) diff --git a/sys/powerpc/include/mutex.h b/sys/powerpc/include/mutex.h index 72d3b7b73401..5c37f54296cd 100644 --- a/sys/powerpc/include/mutex.h +++ b/sys/powerpc/include/mutex.h @@ -42,9 +42,9 @@ #ifdef MUTEX_DEBUG #ifdef _KERN_MUTEX_C_ -char STR_IEN[] = "ps & IPL != IPL_HIGH"; +char STR_IEN[] = "ps & IPL == IPL_0"; char STR_IDIS[] = "ps & IPL == IPL_HIGH"; -char STR_SIEN[] = "mpp->mtx_saveintr != IPL_HIGH"; +char STR_SIEN[] = "mpp->mtx_saveintr == IPL_0"; #else /* _KERN_MUTEX_C_ */ extern char STR_IEN[]; extern char STR_IDIS[]; @@ -54,14 +54,14 @@ extern char STR_SIEN[]; #endif /* MUTEX_DEBUG */ #define ASS_IEN MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \ - == ALPHA_PSL_IPL_HIGH, STR_IEN) + == ALPHA_PSL_IPL_0, STR_IEN) #define ASS_IDIS MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \ - != ALPHA_PSL_IPL_HIGH, STR_IDIS) + == ALPHA_PSL_IPL_HIGH, STR_IDIS) #define ASS_SIEN(mpp) MPASS2((mpp)->mtx_saveintr \ - != ALPHA_PSL_IPL_HIGH, STR_SIEN) + == ALPHA_PSL_IPL_0, STR_SIEN) #define mtx_legal2block() \ - ((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_HIGH) + ((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_0) /* * Assembly macros (for internal use only) |
