mce: Support machine check logging left over from previous reset.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2009-09-29 11:22:17 +01:00
1 parent 3cc1e4c380
commit 341c0e113f
1 file changed
+2 -2
+2 -2
View File
@@ -1029,10 +1029,10 @@ static void mce_init(void)
mctc = mcheck_mca_logout(MCA_RESET, mca_allbanks, &bs, NULL);
/* in the boot up stage, don't inject to DOM0, but print out */
/* in the boot up stage, print out and also log in DOM0 boot process */
if (bs.errcnt && mctc != NULL) {
x86_mcinfo_dump(mctelem_dataptr(mctc));
mctelem_dismiss(mctc);
mctelem_commit(mctc);
}
set_in_cr4(X86_CR4_MCE);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.