From: Konrad Rzeszutek Wilk Date: Fri, 14 Jan 2011 17:47:26 +0000 (-0800) Subject: acpi_pm: Clear pmtmr_ioport if acpi_pm initialization fails X-Git-Tag: v2.6.38-rc3~69^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db6b175fa6ad1408cbb2fb62949a6d55cfece03e;p=pandora-kernel.git acpi_pm: Clear pmtmr_ioport if acpi_pm initialization fails If the acpi pm timer throws invalid data, clear pmtmr_ioport so the pm timer won't accidentally be used. This was found when using Xen where there is a acpi pm reported, but gives bogus values, and other code was continuing to try to use the pm timer after the initialization failed. [jstultz: Catch additional failure and reword changelog message. ] Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: John Stultz LKML-Reference: <1295027246-11110-1-git-send-email-johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed