summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 15:45:49 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 15:45:49 +0000
commit41a6853d24dc7bdba9567ff11c55dd9d9fec86ea (patch)
tree919efa9c050d8679b7f11ac954617325c46cecbb /sys/powerpc
parented7d3539ba9a161ab191beed2d1e4e38859570c8 (diff)
downloadFreeBSD-src-41a6853d24dc7bdba9567ff11c55dd9d9fec86ea.zip
FreeBSD-src-41a6853d24dc7bdba9567ff11c55dd9d9fec86ea.tar.gz
GC unused and now obsolete assertion macros.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/mutex.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/powerpc/include/mutex.h b/sys/powerpc/include/mutex.h
index 2c1a302..9b04128 100644
--- a/sys/powerpc/include/mutex.h
+++ b/sys/powerpc/include/mutex.h
@@ -36,16 +36,6 @@
#ifdef _KERNEL
-/*
- * Debugging
- */
-#define ASS_IEN MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \
- == ALPHA_PSL_IPL_0, "ps & IPL == IPL_0")
-#define ASS_IDIS MPASS2((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) \
- == ALPHA_PSL_IPL_HIGH, "ps & IPL == IPL_HIGH")
-#define ASS_SIEN(mpp) MPASS2((mpp)->mtx_saveintr \
- == ALPHA_PSL_IPL_0, "mpp->mtx_saveintr == IPL_0")
-
#define mtx_legal2block() \
((alpha_pal_rdps() & ALPHA_PSL_IPL_MASK) == ALPHA_PSL_IPL_0)
#define mtx_intr_enable(mutex) (mutex)->mtx_saveintr = ALPHA_PSL_IPL_0
OpenPOWER on IntegriCloud