diff options
-rw-r--r-- | sys/alpha/include/mutex.h | 3 | ||||
-rw-r--r-- | sys/powerpc/include/mutex.h | 3 |
2 files changed, 4 insertions, 2 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) diff --git a/sys/powerpc/include/mutex.h b/sys/powerpc/include/mutex.h index 6c376f0..75c64cf 100644 --- a/sys/powerpc/include/mutex.h +++ b/sys/powerpc/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) |