summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/gdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/gdt.c b/arch/i386/kernel/gdt.c
index 9e2dd85..0d9e1d2 100644
--- a/arch/i386/kernel/gdt.c
+++ b/arch/i386/kernel/gdt.c
@@ -53,6 +53,6 @@ void gdt_install(void) {
__asm__ volatile("movl %%esp, %0" : "=r"(esp));
write_tss(5, 0x10, esp);
- flush_gdt(&gp);
+ flush_gdt();
flush_tss();
}