summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2012-05-23 14:14:22 -0700
committerTony Luck <tony.luck@intel.com>2012-05-23 14:22:44 -0700
commit875e26648cf9b6db9d8dc07b7959d7c61fb3f49c (patch)
tree8854063a634093b107e15f79d8c8000b5541c7bd /include/asm-generic
parenta129a7c84582629741e5fa6f40026efcd7a65bd4 (diff)
downloadlinux-875e26648cf9b6db9d8dc07b7959d7c61fb3f49c.tar.bz2
x86/mce: Fix check for processor context when machine check was taken.
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> Cc: <stable@vger.kernel.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions