Skip to content

Commit

Permalink
[PATCH] Fix gdt table size in trampoline.S
Browse files Browse the repository at this point in the history
Allows easier extension of the GDT by using the proper C symbol
for the size in the descriptor.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Eric W. Biederman authored and Andi Kleen committed Sep 26, 2006
1 parent 8d379da commit 29a6c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/trampoline.S
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ idt_48:
.word 0, 0 # idt base = 0L

gdt_48:
.short __KERNEL32_CS + 7 # gdt limit
.short GDT_ENTRIES*8 - 1 # gdt limit
.long cpu_gdt_table-__START_KERNEL_map

.globl trampoline_end
Expand Down

0 comments on commit 29a6c25

Please sign in to comment.