summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-03-02 07:02:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-03-02 07:02:08 +0000
commit9f37be3507ca034e053577d0683b5c0a232b2b25 (patch)
tree157cc414ae72d2742fd6f375b4ff863e317b38d6 /sys/arch
parentca48e2f822f1d817f188851c8dac53f6855b143d (diff)
The last use of the int $80 syscall entry was in 5.1, so we no longer
need to reserve it ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/machdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index f084d95491b..98903f6d414 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.160 2013/01/16 05:49:48 dlg Exp $ */
+/* $OpenBSD: machdep.c,v 1.161 2013/03/02 07:02:07 guenther Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -1532,9 +1532,6 @@ init_x86_64(paddr_t first_avail)
idt_allocmap[x] = 1;
}
- /* 128 was the old interrupt gate for syscalls; remove in 2013 */
- idt_allocmap[128] = 1;
-
setregion(&region, gdtstore, GDT_SIZE - 1);
lgdt(&region);