summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/segments.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/segments.h')
-rw-r--r--sys/arch/i386/include/segments.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/segments.h b/sys/arch/i386/include/segments.h
index 4aa542dc009..f99604bb380 100644
--- a/sys/arch/i386/include/segments.h
+++ b/sys/arch/i386/include/segments.h
@@ -128,7 +128,8 @@ struct region_descriptor {
#ifdef _KERNEL
extern union descriptor gdt[], ldt[];
-extern struct gate_descriptor idt[];
+extern struct gate_descriptor idt_region[];
+extern struct gate_descriptor *idt;
void setgate __P((struct gate_descriptor *, void *, int, int, int, int));
void setregion __P((struct region_descriptor *, void *, size_t));