提交 32561696 编写于 作者: A Andi Kleen 提交者: H. Peter Anvin

x86, mce: rename and align out2 label

There's only a single out path in do_machine_check now, so rename the
label from out2 to out.  Also align it at the first column.

[ Impact: minor cleanup, no functional changes ]
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Signed-off-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
上级 8be91105
......@@ -361,9 +361,9 @@ void do_machine_check(struct pt_regs *regs, long error_code)
if (notify_die(DIE_NMI, "machine check", regs, error_code,
18, SIGKILL) == NOTIFY_STOP)
goto out2;
goto out;
if (!banks)
goto out2;
goto out;
mce_setup(&m);
......@@ -499,7 +499,7 @@ void do_machine_check(struct pt_regs *regs, long error_code)
mce_wrmsrl(MSR_IA32_MC0_STATUS+4*i, 0);
}
mce_wrmsrl(MSR_IA32_MCG_STATUS, 0);
out2:
out:
atomic_dec(&mce_entry);
sync_core();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册