diff options
| author | H. Peter Anvin <[email protected]> | 2009-11-13 15:28:14 -0800 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2009-11-16 13:44:57 -0800 |
| commit | a7c4c0d934c6cbc58de262d090d4a715445453f0 (patch) | |
| tree | f321fc60984d17c57a65bac6820a12b61d6ed8d4 /net/tipc/msg.c | |
| parent | 8a50e5135af0c243e117e94e27feb8d149c879b4 (diff) | |
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 <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Nigel Cunningham <[email protected]>
LKML-Reference: <[email protected]>
Acked-by: Kees Cook <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions