summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-02-17 18:37:45 +0000
committerbde <bde@FreeBSD.org>2000-02-17 18:37:45 +0000
commit170be2ce1212108cbc237b9dd81ad3396b179438 (patch)
treed98182bfc8ac4f8da10ad87ef136059fdf068230 /sys/alpha/include
parentd7cc86703addd25740b7f34e29d45ffdfa11947c (diff)
downloadFreeBSD-src-170be2ce1212108cbc237b9dd81ad3396b179438.zip
FreeBSD-src-170be2ce1212108cbc237b9dd81ad3396b179438.tar.gz
Don't include <machine/ipl.h> in <sys/systm.h> in the i386 case. This
fixes some namespace pollution in general and breakage of modules that aren't in the sys tree in particular (<machine/ipl.h> includes further headers that aren't installed under /usr/include). Reimplemented SPLASSERT() so that it is more machine independent and less bloated and doesn't require the <machine/ipl.h> include spam. In particular, don't assume that `cpl' can be printed using %08x format. The alpha arch doesn't even have `cpl'. SPLASSERT() was harmless on alphas because it isn't actually used.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/ipl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/alpha/include/ipl.h b/sys/alpha/include/ipl.h
index cea0e09..201aad0 100644
--- a/sys/alpha/include/ipl.h
+++ b/sys/alpha/include/ipl.h
@@ -70,12 +70,6 @@ static __inline int name(void) \
return s; \
} else \
return cpl; \
-} \
- \
-static __inline int \
-is_##name(void) \
-{ \
- return (getcpl() >= ALPHA_PSL_IPL_##pri); \
}
SPLUP(splsoftcam, SOFT)
OpenPOWER on IntegriCloud