android_kernel_xiaomi_sm8350/arch/x86/kernel/acpi
Jiri Slaby 6defa2fe20 x86_64: Fix S3 fail path
As acpi_enter_sleep_state can fail, take this into account in
do_suspend_lowlevel and don't return to the do_suspend_lowlevel's
caller. This would break (currently) fpu status and preempt count.

Technically, this means use `call' instead of `jmp' and `jmp' to
the `resume_point' after the `call' (i.e. if
acpi_enter_sleep_state returns=fails). `resume_point' will handle
the restore of fpu and preempt count gracefully.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-02-21 21:58:18 -05:00
..
realmode
boot.c x86: find nr_irqs_gsi with mp_ioapic_routing 2009-02-09 12:42:59 +01:00
cstate.c Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-01-10 06:12:18 -08:00
Makefile
processor.c
sleep.c ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c 2009-01-16 18:15:31 -05:00
sleep.h
wakeup_32.S
wakeup_64.S x86_64: Fix S3 fail path 2009-02-21 21:58:18 -05:00
wakeup_rm.S