summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-10 17:10:23 +0000
committereivind <eivind@FreeBSD.org>1998-02-10 17:10:23 +0000
commit01d55887a1ddda5814f52998e2d581acb1fbd011 (patch)
tree400f9e4f71f6c963964d4ee1f46b04251cd6c3ad
parentb83f83460c57881e163ace823b992a22fa462c80 (diff)
downloadFreeBSD-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.c6
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)
{
OpenPOWER on IntegriCloud