diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-20 20:27:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-20 20:27:12 +0000 |
commit | 56efda2aa8eb6464f6106f31e59663e6f3f2ce62 (patch) | |
tree | ed34407661c78b1f48f060b00bbfb8956d5f7063 /sys/powerpc | |
parent | 1721a457e90d387b9fdcc50a9afe285e561e6eff (diff) | |
download | FreeBSD-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/powerpc')
-rw-r--r-- | sys/powerpc/include/mutex.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |