Skip to content

Commit

Permalink
x86, mce: rename and align out2 label
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Hidetoshi Seto <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed May 28, 2009
1 parent 8be9110 commit 3256169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 3256169

Please sign in to comment.