summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-11 07:23:59 +0000
committerdfr <dfr@FreeBSD.org>1998-06-11 07:23:59 +0000
commit2612cb112fc3f28f09e072d426b02a2527b1a89e (patch)
treed67a29e822272186dcb0326cfe40ee309221805c /sys/kern
parentffb6f0fe45fb699ac07e7753906a836e61b4934c (diff)
downloadFreeBSD-src-2612cb112fc3f28f09e072d426b02a2527b1a89e.zip
FreeBSD-src-2612cb112fc3f28f09e072d426b02a2527b1a89e.tar.gz
Only build this on i386 for now. I may use it for the alpha later but
currently it doesn't compile.
Diffstat (limited to 'sys/kern')
-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 5d927e0..1b873d4 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__ */
OpenPOWER on IntegriCloud