diff options
author | Joe Perches <joe@perches.com> | 2008-03-23 04:03:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:27 -0400 |
commit | cf030ebd40e37cb11d1efa6677890f40f21e16f4 (patch) | |
tree | 068e3f8fce2807c31b4cf97dd7096132ceaa5016 /include/asm-x86/suspend_32.h | |
parent | 953b2f1ed6f2642e58e7c5b8c1385d132f1b5685 (diff) |
include/asm-x86/suspend_32.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/suspend_32.h')
-rw-r--r-- | include/asm-x86/suspend_32.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-x86/suspend_32.h b/include/asm-x86/suspend_32.h index 1bbda3ad7796..24e1c080aa8a 100644 --- a/include/asm-x86/suspend_32.h +++ b/include/asm-x86/suspend_32.h | |||
@@ -10,7 +10,7 @@ static inline int arch_prepare_suspend(void) { return 0; } | |||
10 | 10 | ||
11 | /* image of the saved processor state */ | 11 | /* image of the saved processor state */ |
12 | struct saved_context { | 12 | struct saved_context { |
13 | u16 es, fs, gs, ss; | 13 | u16 es, fs, gs, ss; |
14 | unsigned long cr0, cr2, cr3, cr4; | 14 | unsigned long cr0, cr2, cr3, cr4; |
15 | struct desc_ptr gdt; | 15 | struct desc_ptr gdt; |
16 | struct desc_ptr idt; | 16 | struct desc_ptr idt; |
@@ -32,11 +32,11 @@ extern unsigned long saved_edi; | |||
32 | static inline void acpi_save_register_state(unsigned long return_point) | 32 | static inline void acpi_save_register_state(unsigned long return_point) |
33 | { | 33 | { |
34 | saved_eip = return_point; | 34 | saved_eip = return_point; |
35 | asm volatile ("movl %%esp,%0" : "=m" (saved_esp)); | 35 | asm volatile("movl %%esp,%0" : "=m" (saved_esp)); |
36 | asm volatile ("movl %%ebp,%0" : "=m" (saved_ebp)); | 36 | asm volatile("movl %%ebp,%0" : "=m" (saved_ebp)); |
37 | asm volatile ("movl %%ebx,%0" : "=m" (saved_ebx)); | 37 | asm volatile("movl %%ebx,%0" : "=m" (saved_ebx)); |
38 | asm volatile ("movl %%edi,%0" : "=m" (saved_edi)); | 38 | asm volatile("movl %%edi,%0" : "=m" (saved_edi)); |
39 | asm volatile ("movl %%esi,%0" : "=m" (saved_esi)); | 39 | asm volatile("movl %%esi,%0" : "=m" (saved_esi)); |
40 | } | 40 | } |
41 | 41 | ||
42 | #define acpi_restore_register_state() do {} while (0) | 42 | #define acpi_restore_register_state() do {} while (0) |