Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366253
b: refs/heads/master
c: 84e7097
h: refs/heads/master
i:
  366251: 432d3cb
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk authored and H. Peter Anvin committed Apr 11, 2013
1 parent 8ee7176 commit 5589500
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7a5cd063c7b4c58417f674821d63f5eb6747e37
refs/heads/master: 84e70971e67d97bc2db18a4e76d42846272a54bd
1 change: 0 additions & 1 deletion trunk/arch/x86/include/asm/suspend_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ struct saved_context {
unsigned long cr0, cr2, cr3, cr4;
u64 misc_enable;
bool misc_enable_saved;
struct desc_ptr gdt;
struct desc_ptr idt;
u16 ldt;
u16 tss;
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/x86/kernel/acpi/wakeup_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ wakeup_pmode_return:
movw %ax, %gs

# reload the gdt, as we need the full 32 bit address
lgdt saved_gdt
lidt saved_idt
lldt saved_ldt
ljmp $(__KERNEL_CS), $1f
Expand All @@ -44,7 +43,6 @@ bogus_magic:


save_registers:
sgdt saved_gdt
sidt saved_idt
sldt saved_ldt
str saved_tss
Expand Down Expand Up @@ -93,7 +91,6 @@ ENTRY(saved_magic) .long 0
ENTRY(saved_eip) .long 0

# saved registers
saved_gdt: .long 0,0
saved_idt: .long 0,0
saved_ldt: .long 0
saved_tss: .long 0
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/power/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ static void __save_processor_state(struct saved_context *ctxt)
* descriptor tables
*/
#ifdef CONFIG_X86_32
store_gdt(&ctxt->gdt);
store_idt(&ctxt->idt);
#else
/* CONFIG_X86_64 */
Expand Down Expand Up @@ -181,7 +180,6 @@ static void __restore_processor_state(struct saved_context *ctxt)
* ltr is done i fix_processor_context().
*/
#ifdef CONFIG_X86_32
load_gdt(&ctxt->gdt);
load_idt(&ctxt->idt);
#else
/* CONFIG_X86_64 */
Expand Down

0 comments on commit 5589500

Please sign in to comment.