summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-10-06 19:46:22 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-10-06 19:46:22 +0000
commitd3636e7d7218db54d7e3ec8e75e2a795d3cb4f1f (patch)
treeefb1fe587a3876e8785a9ef1c289cc94c2ccea2c /sys/arch/i386
parent9e3adc98267ce80cfbae96d2d4c045ba063e3eac (diff)
Unconditionally compile idt_vec_xxx functions.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 63811f1061d..87e091c6ec0 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.435 2008/07/11 03:03:07 dlg Exp $ */
+/* $OpenBSD: machdep.c,v 1.436 2008/10/06 19:46:21 kettenis Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -3255,7 +3255,6 @@ need_resched(struct cpu_info *ci)
aston(p);
}
-#ifdef MULTIPROCESSOR
/* Allocate an IDT vector slot within the given range.
* XXX needs locking to avoid MP allocation races.
*/
@@ -3282,7 +3281,6 @@ idt_vec_free(int vec)
{
unsetgate(&idt[vec]);
}
-#endif /* MULTIPROCESSOR */
/*
* machine dependent system variables.