linux_old1/arch/x86/realmode
H. Peter Anvin 1396adc3c2 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 <hpa@linux.intel.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Link: http://lkml.kernel.org/r/1348529239-17943-1-git-send-email-hpa@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2012-10-02 08:42:31 +02:00
..
rm x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID 2012-10-02 08:42:31 +02:00
Makefile x86, realmode: Move kernel/realmode.c to realmode/init.c 2012-05-16 13:49:10 -07:00
init.c x86, realmode: Change EFER to a single u64 field 2012-05-16 14:02:05 -07:00
rmpiggy.S x86, realmode: don't copy real_mode_header 2012-05-08 11:48:45 -07:00