x86: Save registers in saved_context during suspend and hibernation
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 23 Oct 2007 20:37:24 +0000 (22:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:24 +0000 (22:37 +0200)
commit0de80bcc2baed116a569c38cbc38c5dcb945d14d
tree5eef7beda7307be2e8949f1bf0e7f84799d8ae31
parentef685298b4b3dead1efa1d47cd27ced0f2673254
x86: Save registers in saved_context during suspend and hibernation

During hibernation and suspend on x86_64 save CPU registers in the saved_context
structure rather than in a handful of separate variables.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/acpi/wakeup_64.S
arch/x86/kernel/asm-offsets_64.c
arch/x86/kernel/suspend_64.c
arch/x86/kernel/suspend_asm_64.S
include/asm-x86/suspend_64.h