linux/arch/x86/realmode/rm
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
..
.gitignore x86, realmode: realmode.bin infrastructure 2012-05-08 11:41:48 -07:00
Makefile x86, build: Globally set -fno-pic 2012-08-10 16:12:30 -07:00
bioscall.S x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
copy.S x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
header.S x86-64, reboot: Allow reboot=bios and reboot-cpu override on x86-64 2012-06-17 10:51:01 -07:00
realmode.h x86, realmode: Move end signature into header.S 2012-05-21 00:02:45 -07:00
realmode.lds.S x86, realmode: don't copy real_mode_header 2012-05-08 11:48:45 -07:00
reboot.S x86-64, reboot: Be more paranoid in 64-bit reboot=bios 2012-06-21 10:25:03 -07:00
regs.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
stack.S x86, realmode: fix 64-bit wakeup sequence 2012-05-08 11:48:11 -07:00
trampoline_32.S x86, realmode: Move not-common bits out of trampoline_common.S 2012-05-16 13:44:10 -07:00
trampoline_64.S x86, realmode: Change EFER to a single u64 field 2012-05-16 14:02:05 -07:00
trampoline_common.S x86, realmode: Move not-common bits out of trampoline_common.S 2012-05-16 13:44:10 -07:00
video-bios.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
video-mode.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
video-vesa.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
video-vga.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
wakemain.c x86, realmode: flattened rm hierachy 2012-05-08 11:48:45 -07:00
wakeup.h x86, suspend: On wakeup always initialize cr4 and EFER 2012-09-26 15:06:22 -07:00
wakeup_asm.S x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID 2012-10-02 08:42:31 +02:00