aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2012-05-23 14:14:22 -0700
committerBen Hutchings <ben@decadent.org.uk>2012-05-31 00:44:02 +0100
commitada120d8941283a3e921c9f81cb8748f6924aa40 (patch)
tree669dcae167cfffcd6989dc54cad05c919c2a8ad4 /ipc
parent234887cec47a1916d2bd63f9e05a5005af2f03cc (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions