diff options
author | Huang Ying <[email protected]> | 2009-09-22 14:35:57 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-22 21:06:37 +0200 |
commit | 14c0abf14a5e67e793131116bd97f57da37ccce3 (patch) | |
tree | db58321efd5a4a16e9e107d82c8230d1bae9d375 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b417c9fd8690637f0c91479435ab3e2bf450c038 (diff) |
x86: mce, inject: Use real inject-msg in raise_local
Current raise_local() uses a struct mce that comes from mce_write()
as a parameter instead of the real inject-msg, so when we set
mce.finished = 0 to clear injected MCE, the real inject stays
valid.
This will cause the remaining inject-msg affect the next injection,
which is not desired.
To fix this, real inject-msg is used in raise_local instead of the
one on the stack.
This patch is based on the diagnosis and the fixes by Dean Nelson.
Reported-by: Dean Nelson <[email protected]>
Signed-off-by: Huang Ying <[email protected]>
Cc: Hidetoshi Seto <[email protected]>
Cc: Andi Kleen <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions