From: H. Peter Anvin Date: Mon, 1 Oct 2012 21:34:42 +0000 (-0700) Subject: x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID X-Git-Tag: v3.7-rc2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1396adc3c2bdc556d4cdd1cf107aa0b6d59fbb1e;p=pandora-kernel.git x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID The patch: 73201dbe x86, suspend: On wakeup always initialize cr4 and EFER ... was incorrectly committed in an intermediate (unfinished) form. - We need to test CF, not ZF, for a bit test with btl. - We don't actually need to compute the existence of EFLAGS.ID, since we set a flag at suspend time if CR4 should be restored. 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed