aboutsummaryrefslogtreecommitdiff
path: root/kernel/boot/gdt/gdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/boot/gdt/gdt.c')
-rw-r--r--kernel/boot/gdt/gdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/boot/gdt/gdt.c b/kernel/boot/gdt/gdt.c
index 4401a02..182f3d9 100644
--- a/kernel/boot/gdt/gdt.c
+++ b/kernel/boot/gdt/gdt.c
@@ -42,7 +42,7 @@ GDT_entry_t GDT_entries[] = {
/* TODO: LDT? */
};
-GDT_descriptor_t GDT_descriptor = { sizeof(GDT_entries) - 1, &GDT_entries[0] };
+GDT_descriptor_t GDT_descriptor = { sizeof(GDT_entries) - 1, GDT_entries };
void
GDT_load(void)