summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2012-05-23 14:14:22 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-01 15:15:53 +0800
commitfd1a48fe1d6813c141c890541951fcb54b0f20d7 (patch)
treef7b2deafcf6154fe5e5875880399e46b4c98c663 /include
parent43504f70a86b70d4e6eab50b0d46fefe685876be (diff)
x86/mce: Fix check for processor context when machine check was taken.
commit 875e26648cf9b6db9d8dc07b7959d7c61fb3f49c upstream. Linus pointed out that there was no value is checking whether m->ip was zero - because zero is a legimate value. If we have a reliable (or faked in the VM86 case) "m->cs" we can use it to tell whether we were in user mode or kernelwhen the machine check hit. Reported-by: Linus Torvalds <torvalds@linuxfoundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions