]> xenbits.xensource.com Git - xenclient/kernel.git/commit
Fix one dead loop case in host S3
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 10:18:23 +0000 (11:18 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 10:18:23 +0000 (11:18 +0100)
commit72c7c1b8cf4f18cb1b2222ccd7570f3e65d12365
tree4151bad20c2d3066427649f5588fe3a88aa47f06
parent2a4477b2b6d7b949dab4b8003a2824927b8ebee1
Fix one dead loop case in host S3

Wake sts is only required to be checked for S1, and implementation
is free to not touch wake sts bit for S3. The latter case is observed
falling into loop on checking wake sts after sleep hypercall returns.
Actually we only need to check hypercall return value here, and those
checks belong to Xen instead.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
drivers/acpi/hardware/hwsleep.c