Date: Thu, 17 Feb 2000 10:37:46 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha ipl_funcs.c src/sys/alpha/include ipl.h src/sys/i386/isa ipl_funcs.c src/sys/sys systm.h Message-ID: <200002171837.KAA47658@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2000/02/17 10:37:46 PST
Modified files:
sys/alpha/alpha ipl_funcs.c
sys/alpha/include ipl.h
sys/i386/isa ipl_funcs.c
sys/sys systm.h
Log:
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.
Revision Changes Path
1.15 +32 -1 src/sys/alpha/alpha/ipl_funcs.c
1.12 +1 -7 src/sys/alpha/include/ipl.h
1.32 +33 -32 src/sys/i386/isa/ipl_funcs.c
1.109 +24 -26 src/sys/sys/systm.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002171837.KAA47658>
