diff options
author | Tony Luck <tony.luck@intel.com> | 2012-05-23 14:14:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-01 15:18:26 +0800 |
commit | e6b2a258ab83555e062cd2bc2a0ade31b8c118d1 (patch) | |
tree | a480593e4276b4a8b4969656f0aedee729b3a87d /drivers | |
parent | c51ac8ac9a82d4883c9b62247cca98195da8cd63 (diff) | |
download | linux-3.10-e6b2a258ab83555e062cd2bc2a0ade31b8c118d1.tar.gz linux-3.10-e6b2a258ab83555e062cd2bc2a0ade31b8c118d1.tar.bz2 linux-3.10-e6b2a258ab83555e062cd2bc2a0ade31b8c118d1.zip |
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 'drivers')
0 files changed, 0 insertions, 0 deletions