summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-06-11 07:23:59 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-06-11 07:23:59 +0000
commit3900ddb2dc73e58d4b06effd232b875ce181b12c (patch)
tree3c1828c670e8854587c2d97b283b24dc1086399a
parentbcb4edfc14fd6808485adc323449169cfcb23f3c (diff)
Notes
-rw-r--r--sys/kern/kern_intr.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 5d927e0810eca..1b873d4c002cd 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -23,10 +23,17 @@
* (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.14 1998/04/17 04:53:39 bde Exp $
+ * $Id: kern_intr.c,v 1.15 1998/06/07 17:11:34 dfr Exp $
*
*/
+#ifdef __i386__
+
+/*
+ * This file is pretty i386 specific. I might be able to make it more
+ * portable in the future but for now turn it off for non-i386 ports.
+ */
+
#include <sys/types.h>
#include <sys/malloc.h>
#include <sys/systm.h>
@@ -430,3 +437,5 @@ unregister_intr(int intr, inthand2_t handler)
return (intr_destroy(p));
return (EINVAL);
}
+
+#endif /* __i386__ */