From: H. Peter Anvin Date: Fri, 14 Aug 2009 19:14:19 +0000 (-0700) Subject: x86, intel_txt: Factor out the code for S3 setup X-Git-Tag: v2.6.32-rc1~681^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c41d28259c246dbc11358d85d332dc20ccd57b;p=pandora-kernel.git x86, intel_txt: Factor out the code for S3 setup S3 sleep requires special setup in tboot. However, the data structures needed to do such setup are only available if CONFIG_ACPI_SLEEP is enabled. Abstract them out as much as possible, so we can have a single tboot_setup_sleep() which either is a proper implementation or a stub which simply calls BUG(). Signed-off-by: H. Peter Anvin Acked-by: Shane Wang Cc: Joseph Cihula --- Reading git-diff-tree failed