diff options
author | H. Peter Anvin <[email protected]> | 2012-10-01 14:34:42 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-10-02 08:42:31 +0200 |
commit | 1396adc3c2bdc556d4cdd1cf107aa0b6d59fbb1e (patch) | |
tree | 7fc9ec52083551c3b1d5ea5937fa6e583ad32e07 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | b2cc2a074de75671bbed5e2dda67a9252ef353ea (diff) |
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 <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions