diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-10 17:10:23 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-10 17:10:23 +0000 |
commit | 01d55887a1ddda5814f52998e2d581acb1fbd011 (patch) | |
tree | 400f9e4f71f6c963964d4ee1f46b04251cd6c3ad | |
parent | b83f83460c57881e163ace823b992a22fa462c80 (diff) | |
download | FreeBSD-src-01d55887a1ddda5814f52998e2d581acb1fbd011.zip FreeBSD-src-01d55887a1ddda5814f52998e2d581acb1fbd011.tar.gz |
Move include of <machine/ipl.h> inside ifndef SMP where it is used, to
avoid getting 'unused include file' warnings in the SMP case.
-rw-r--r-- | sys/kern/kern_intr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 4d2e3b9..c39dea7 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.11 1997/08/21 06:39:41 fsmp Exp $ + * $Id: kern_intr.c,v 1.12 1997/10/06 04:27:32 nate Exp $ * */ @@ -39,8 +39,6 @@ #include <i386/isa/intr_machdep.h> #include <sys/interrupt.h> -#include <machine/ipl.h> - #include <stddef.h> typedef struct intrec { @@ -61,6 +59,8 @@ typedef struct intrec { */ #ifndef SMP +#include <machine/ipl.h> + static inline intrmask_t splq(intrmask_t mask) { |