summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/trampoline.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/trampoline.S')
-rw-r--r--arch/x86_64/kernel/trampoline.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/trampoline.S b/arch/x86_64/kernel/trampoline.S
index 23a03eb91fc7..c79b99a9e2f6 100644
--- a/arch/x86_64/kernel/trampoline.S
+++ b/arch/x86_64/kernel/trampoline.S
@@ -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