aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorH. Peter Anvin <[email protected]>2012-09-26 22:02:34 +0000
committerH. Peter Anvin <[email protected]>2012-09-26 22:06:22 +0000
commit73201dbec64aebf6b0dca855b523f437972dc7bb (patch)
treefdedca7d530ffda4fcb53cb084ad993555c2f948 /lib/dma-debug.c
parentx86-32: Start out eflags and cr4 clean (diff)
downloadkernel-73201dbec64aebf6b0dca855b523f437972dc7bb.tar.gz
kernel-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 <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions