projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5331d2c
)
x86-32, hibernate: Adjust in_suspend after resumed on 32bit system
author
Zhimin Gu
<kookoo.gu@intel.com>
Fri, 21 Sep 2018 06:28:41 +0000
(14:28 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 3 Oct 2018 09:56:34 +0000
(11:56 +0200)
Update the in_suspend variable to reflect the actual hibernation
status. Back-port from 64bit system.
Signed-off-by: Zhimin Gu <kookoo.gu@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/power/hibernate_asm_32.S
patch
|
blob
|
history
diff --git
a/arch/x86/power/hibernate_asm_32.S
b/arch/x86/power/hibernate_asm_32.S
index 01f653fae7bd48ee41a0713aa7e8388ae57f3c31..6fe383002125f6a8ec01144fda30a647c9f8cb34 100644
(file)
--- a/
arch/x86/power/hibernate_asm_32.S
+++ b/
arch/x86/power/hibernate_asm_32.S
@@
-103,5
+103,8
@@
ENTRY(restore_registers)
xorl %eax, %eax
+ /* tell the hibernation core that we've just restored the memory */
+ movl %eax, in_suspend
+
ret
ENDPROC(restore_registers)