summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2008-12-06 14:36:50 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2008-12-06 14:36:50 +0000
commit1889006427a6d703c4be3fd14b376af5a70ac006 (patch)
tree13c580929fe27a250190714c0a09d04aed7a637e
parent47f62d07c8dd10d0138c02274eb7286c41e4c840 (diff)
the not MP version didn't compile, mglocker found
-rw-r--r--sys/arch/amd64/amd64/intr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/intr.c b/sys/arch/amd64/amd64/intr.c
index 1aec44f3fe4..eb9ff1ee477 100644
--- a/sys/arch/amd64/amd64/intr.c
+++ b/sys/arch/amd64/amd64/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.20 2008/12/06 04:31:24 tedu Exp $ */
+/* $OpenBSD: intr.c,v 1.21 2008/12/06 14:36:49 tedu Exp $ */
/* $NetBSD: intr.c,v 1.3 2003/03/03 22:16:20 fvdl Exp $ */
/*
@@ -553,6 +553,7 @@ intr_disestablish(struct intrhand *ih)
simple_unlock(&ci->ci_slock);
}
+#ifdef MULTIPROCESSOR
int
intr_biglock_wrap(void *v)
{
@@ -565,6 +566,7 @@ intr_biglock_wrap(void *v)
return (ret);
}
+#endif
#define CONCAT(x,y) __CONCAT(x,y)