summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 3c7284c..83a264b 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -145,12 +145,12 @@ static void gdt_init(void)
// [ss] @rsp+8
// [rip] @rsp
"pushq %1\n"
- "lea .flush(%%rip), %%rax\n"
+ "lea .Lflush(%%rip), %%rax\n"
"push %%rax\n"
// far return, now we're in the code segment
// defined here.
"lretq\n"
- ".flush:\n"
+ ".Lflush:\n"
"ltr %w3\n"
"popf\n"
// dependency on pre-boot GDT is now gone