diff options
-rw-r--r-- | arch/x86/include/asm/suspend_64.h | 3 | ||||
-rw-r--r-- | arch/x86/power/cpu.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/suspend_64.h b/arch/x86/include/asm/suspend_64.h index 09b0bf104156..97b84e08a211 100644 --- a/arch/x86/include/asm/suspend_64.h +++ b/arch/x86/include/asm/suspend_64.h @@ -25,9 +25,6 @@ struct saved_context { u64 misc_enable; bool misc_enable_saved; unsigned long efer; - u16 gdt_pad; - u16 gdt_limit; - unsigned long gdt_base; u16 idt_pad; u16 idt_limit; unsigned long idt_base; diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c index 120cee1c3f8d..6bd94233669c 100644 --- a/arch/x86/power/cpu.c +++ b/arch/x86/power/cpu.c @@ -65,7 +65,6 @@ static void __save_processor_state(struct saved_context *ctxt) store_idt(&ctxt->idt); #else /* CONFIG_X86_64 */ - store_gdt((struct desc_ptr *)&ctxt->gdt_limit); store_idt((struct desc_ptr *)&ctxt->idt_limit); #endif store_tr(ctxt->tr); @@ -186,7 +185,6 @@ static void __restore_processor_state(struct saved_context *ctxt) load_idt(&ctxt->idt); #else /* CONFIG_X86_64 */ - load_gdt((const struct desc_ptr *)&ctxt->gdt_limit); load_idt((const struct desc_ptr *)&ctxt->idt_limit); #endif |