Commit 29a6c25b authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Andi Kleen

[PATCH] Fix gdt table size in trampoline.S

Allows easier extension of the GDT by using the proper C symbol
for the size in the descriptor.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 8d379dad
...@@ -64,7 +64,7 @@ idt_48: ...@@ -64,7 +64,7 @@ idt_48:
.word 0, 0 # idt base = 0L .word 0, 0 # idt base = 0L
gdt_48: gdt_48:
.short __KERNEL32_CS + 7 # gdt limit .short GDT_ENTRIES*8 - 1 # gdt limit
.long cpu_gdt_table-__START_KERNEL_map .long cpu_gdt_table-__START_KERNEL_map
.globl trampoline_end .globl trampoline_end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment