summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index c6c6bc2..afa0e18 100644
--- a/trap.c
+++ b/trap.c
@@ -20,7 +20,7 @@ tvinit(void)
int i;
for(i=0; i<256; i++) {
- idt[i] = INTDESC(KCSEG, vectors[i], INT_P | SEG_INTR64);
+ idt[i] = INTDESC(SEG_KCODE, vectors[i], INT_P | SEG_INTR64);
}
idtinit();