x86, mce: Fix x86_mcinfo_getptr is called when no error found
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Dec 2008 14:03:26 +0000 (14:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Dec 2008 14:03:26 +0000 (14:03 +0000)
commit846d03250846da7d8522895dc16966b025c06e6f
treeff102c3ea21fd40e2f919d3f2895769530b6898e
parentbb53d1d5fd157aa950b80b5a4568ba75411ebfc5
x86, mce: Fix x86_mcinfo_getptr is called when no error found

The machine_check_poll() is called with mi which is set by
x86_mcinfo_getptr() everytime. But, I think it should not be called
when there is no error, because error_idx and fetch_idx cannot work
together.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
xen/arch/x86/cpu/mcheck/mce_intel.c