summaryrefslogtreecommitdiff
path: root/src/arch/x86/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/lib')
-rw-r--r--src/arch/x86/lib/c_start.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/x86/lib/c_start.S b/src/arch/x86/lib/c_start.S
index 35bc26b789..762aa8c264 100644
--- a/src/arch/x86/lib/c_start.S
+++ b/src/arch/x86/lib/c_start.S
@@ -250,11 +250,10 @@ gdb_stub_breakpoint:
#endif
- .globl gdt, gdt_end, gdt_limit, idtarg
+ .globl gdt, gdt_end, idtarg
-gdt_limit = gdt_end - gdt - 1 /* compute the table limit */
gdtaddr:
- .word gdt_limit
+ .word gdt_end - gdt - 1
.long gdt /* we know the offset */
.data