diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-27 00:02:34 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-27 00:06:22 +0200 |
commit | 73201dbec64aebf6b0dca855b523f437972dc7bb (patch) | |
tree | fdedca7d530ffda4fcb53cb084ad993555c2f948 /include/sound/minors.h | |
parent | x86-32: Start out eflags and cr4 clean (diff) | |
download | linux-73201dbec64aebf6b0dca855b523f437972dc7bb.tar.xz linux-73201dbec64aebf6b0dca855b523f437972dc7bb.zip |
x86, suspend: On wakeup always initialize cr4 and EFER
We already have a flag word to indicate the existence of MISC_ENABLES,
so use the same flag word to indicate existence of cr4 and EFER, and
always restore them if they exist. That way if something passes a
nonzero value when the value *should* be zero, we will still
initialize it.
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
Diffstat (limited to 'include/sound/minors.h')
0 files changed, 0 insertions, 0 deletions