linux/arch
H. Peter Anvin a7c4c0d934 x86, sleep: Always save the value of EFER
Always save the value of EFER, regardless of the state of NX.  Since
EFER may not actually exist, use rdmsr_safe() to do so.

v2: check the return value from rdmsr_safe() instead of relying on
    the output values being unchanged on error.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@tuxonice.net>
LKML-Reference: <1258154897-6770-3-git-send-email-hpa@zytor.com>
Acked-by: Kees Cook <kees.cook@canonical.com>
2009-11-16 13:44:57 -08:00
..
alpha
arm headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
avr32
blackfin headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
cris
frv
h8300
ia64
m32r headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
m68k
m68knommu
microblaze
mips
mn10300
parisc
powerpc
s390
score
sh sh: Don't allocate smaller sized mappings on every iteration 2009-10-09 11:26:35 +09:00
sparc Merge branch 'sparc-perf-events-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-10-08 12:05:50 -07:00
um headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
x86 x86, sleep: Always save the value of EFER 2009-11-16 13:44:57 -08:00
xtensa headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
.gitignore
Kconfig