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
bioscall.S
copy.S
header.S x86-64, reboot: Allow reboot=bios and reboot-cpu override on x86-64 2012-06-17 10:51:01 -07:00
Makefile x86, build: Globally set -fno-pic 2012-08-10 16:12:30 -07:00
realmode.h
realmode.lds.S
reboot.S x86-64, reboot: Be more paranoid in 64-bit reboot=bios 2012-06-21 10:25:03 -07:00
regs.c
stack.S
trampoline_32.S
trampoline_64.S
trampoline_common.S
video-bios.c
video-mode.c
video-vesa.c
video-vga.c
wakemain.c
wakeup_asm.S x86, suspend: Correct the restore of CR4, EFER; skip computing EFLAGS.ID 2012-10-02 08:42:31 +02:00
wakeup.h x86, suspend: On wakeup always initialize cr4 and EFER 2012-09-26 15:06:22 -07:00