Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89027
b: refs/heads/master
c: cf030eb
h: refs/heads/master
i:
  89025: 014b225
  89023: eb7ec47
v: v3
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent bc731cc commit fbbbf28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions 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: 953b2f1ed6f2642e58e7c5b8c1385d132f1b5685
refs/heads/master: cf030ebd40e37cb11d1efa6677890f40f21e16f4
12 changes: 6 additions & 6 deletions trunk/include/asm-x86/suspend_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static inline int arch_prepare_suspend(void) { return 0; }

/* image of the saved processor state */
struct saved_context {
u16 es, fs, gs, ss;
u16 es, fs, gs, ss;
unsigned long cr0, cr2, cr3, cr4;
struct desc_ptr gdt;
struct desc_ptr idt;
Expand All @@ -32,11 +32,11 @@ extern unsigned long saved_edi;
static inline void acpi_save_register_state(unsigned long return_point)
{
saved_eip = return_point;
asm volatile ("movl %%esp,%0" : "=m" (saved_esp));
asm volatile ("movl %%ebp,%0" : "=m" (saved_ebp));
asm volatile ("movl %%ebx,%0" : "=m" (saved_ebx));
asm volatile ("movl %%edi,%0" : "=m" (saved_edi));
asm volatile ("movl %%esi,%0" : "=m" (saved_esi));
asm volatile("movl %%esp,%0" : "=m" (saved_esp));
asm volatile("movl %%ebp,%0" : "=m" (saved_ebp));
asm volatile("movl %%ebx,%0" : "=m" (saved_ebx));
asm volatile("movl %%edi,%0" : "=m" (saved_edi));
asm volatile("movl %%esi,%0" : "=m" (saved_esi));
}

#define acpi_restore_register_state() do {} while (0)
Expand Down

0 comments on commit fbbbf28

Please sign in to comment.