summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/intr.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2004-06-25 11:03:29 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2004-06-25 11:03:29 +0000
commit1738a99caa862954a176f61a5b39322cb4d236a9 (patch)
tree8174d0a279102d74dc7834b5f2bbfeb6475e7664 /sys/arch/amd64/include/intr.h
parent553a08a83999f0198ea42221d73ef0c373884e6a (diff)
SMP support. Big parts from NetBSD, but with some really serious debugging
done by me, niklas and others. Especially wrt. NXE support. Still needs some polishing, especially in dmesg messages, but we're now building kernel faster than ever.
Diffstat (limited to 'sys/arch/amd64/include/intr.h')
-rw-r--r--sys/arch/amd64/include/intr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/intr.h b/sys/arch/amd64/include/intr.h
index a9ba202472f..f468f1a0b27 100644
--- a/sys/arch/amd64/include/intr.h
+++ b/sys/arch/amd64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.2 2004/05/07 20:33:04 tedu Exp $ */
+/* $OpenBSD: intr.h,v 1.3 2004/06/25 11:03:28 art Exp $ */
/* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
/*-
@@ -44,7 +44,6 @@
#ifndef _LOCORE
#include <machine/cpu.h>
-#include <machine/pic.h>
/*
* Struct describing an interrupt source for a CPU. struct cpu_info
@@ -252,6 +251,8 @@ softintr(int sir)
#define IPLSHIFT 4 /* The upper nibble of vectors is the IPL. */
#define IPL(level) ((level) >> IPLSHIFT) /* Extract the IPL. */
+#include <machine/pic.h>
+
/*
* Stub declarations.
*/