Commit 1fca4ba0 authored by Zhimin Gu's avatar Zhimin Gu Committed by Rafael J. Wysocki

x86-32, hibernate: Adjust in_suspend after resumed on 32bit system

Update the in_suspend variable to reflect the actual hibernation
status. Back-port from 64bit system.
Signed-off-by: default avatarZhimin Gu <kookoo.gu@intel.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarChen Yu <yu.c.chen@intel.com>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 5331d2c7
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment