From: H. Peter Anvin Date: Wed, 26 Sep 2012 22:02:34 +0000 (-0700) Subject: x86, suspend: On wakeup always initialize cr4 and EFER X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~68^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73201dbec64aebf6b0dca855b523f437972dc7bb;p=pandora-kernel.git x86, suspend: On wakeup always initialize cr4 and EFER We already have a flag word to indicate the existence of MISC_ENABLES, so use the same flag word to indicate existence of cr4 and EFER, and always restore them if they exist. That way if something passes a nonzero value when the value *should* be zero, we will still initialize it. Signed-off-by: H. Peter Anvin Cc: Rafael J. Wysocki Link: http://lkml.kernel.org/r/1348529239-17943-1-git-send-email-hpa@linux.intel.com --- Reading git-diff-tree failed