aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 4f9e31912a25..69507ae8a65b 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -649,7 +649,7 @@ struct pt_regs * __devinit idle_regs(struct pt_regs *regs)
649 * it's on the real one. */ 649 * it's on the real one. */
650void switch_to_new_gdt(void) 650void switch_to_new_gdt(void)
651{ 651{
652 struct Xgt_desc_struct gdt_descr; 652 struct desc_ptr gdt_descr;
653 653
654 gdt_descr.address = (long)get_cpu_gdt_table(smp_processor_id()); 654 gdt_descr.address = (long)get_cpu_gdt_table(smp_processor_id());
655 gdt_descr.size = GDT_SIZE - 1; 655 gdt_descr.size = GDT_SIZE - 1;