mirror of https://gitee.com/openkylin/linux.git
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: Andi Kleen <ak@linux.intel.com> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
8be9110569
commit
32561696c2
|
@ -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,
|
if (notify_die(DIE_NMI, "machine check", regs, error_code,
|
||||||
18, SIGKILL) == NOTIFY_STOP)
|
18, SIGKILL) == NOTIFY_STOP)
|
||||||
goto out2;
|
goto out;
|
||||||
if (!banks)
|
if (!banks)
|
||||||
goto out2;
|
goto out;
|
||||||
|
|
||||||
mce_setup(&m);
|
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_MC0_STATUS+4*i, 0);
|
||||||
}
|
}
|
||||||
mce_wrmsrl(MSR_IA32_MCG_STATUS, 0);
|
mce_wrmsrl(MSR_IA32_MCG_STATUS, 0);
|
||||||
out2:
|
out:
|
||||||
atomic_dec(&mce_entry);
|
atomic_dec(&mce_entry);
|
||||||
sync_core();
|
sync_core();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue