diff options
Diffstat (limited to 'include/asm-x86/suspend_64.h')
-rw-r--r-- | include/asm-x86/suspend_64.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/asm-x86/suspend_64.h b/include/asm-x86/suspend_64.h index c505a76bcf6e..2eb92cb81a0d 100644 --- a/include/asm-x86/suspend_64.h +++ b/include/asm-x86/suspend_64.h | |||
@@ -15,7 +15,14 @@ arch_prepare_suspend(void) | |||
15 | return 0; | 15 | return 0; |
16 | } | 16 | } |
17 | 17 | ||
18 | /* Image of the saved processor state. If you touch this, fix acpi/wakeup.S. */ | 18 | /* |
19 | * Image of the saved processor state, used by the low level ACPI suspend to | ||
20 | * RAM code and by the low level hibernation code. | ||
21 | * | ||
22 | * If you modify it, fix arch/x86/kernel/acpi/wakeup_64.S and make sure that | ||
23 | * __save/__restore_processor_state(), defined in arch/x86/kernel/suspend_64.c, | ||
24 | * still work as required. | ||
25 | */ | ||
19 | struct saved_context { | 26 | struct saved_context { |
20 | struct pt_regs regs; | 27 | struct pt_regs regs; |
21 | u16 ds, es, fs, gs, ss; | 28 | u16 ds, es, fs, gs, ss; |
@@ -38,8 +45,6 @@ struct saved_context { | |||
38 | #define loaddebug(thread,register) \ | 45 | #define loaddebug(thread,register) \ |
39 | set_debugreg((thread)->debugreg##register, register) | 46 | set_debugreg((thread)->debugreg##register, register) |
40 | 47 | ||
41 | extern void fix_processor_context(void); | ||
42 | |||
43 | /* routines for saving/restoring kernel state */ | 48 | /* routines for saving/restoring kernel state */ |
44 | extern int acpi_save_state_mem(void); | 49 | extern int acpi_save_state_mem(void); |
45 | extern char core_restore_code; | 50 | extern char core_restore_code; |