Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163047
b: refs/heads/master
c: 680b6cf
h: refs/heads/master
i:
  163045: cb64d22
  163043: 1d4bde0
  163039: 3452d30
v: v3
  • Loading branch information
Hidetoshi Seto authored and Ingo Molnar committed Aug 26, 2009
1 parent 8ead3c6 commit c7d7455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf783f9f7d33576815bc89f9f1856a7309ea2f17
refs/heads/master: 680b6cfd3cee30a7d997d49430fb73af84523853
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ static int mce_timed_out(u64 *t)
* This way we prevent any potential data corruption in a unrecoverable case
* and also makes sure always all CPU's errors are examined.
*
* Also this detects the case of an machine check event coming from outer
* Also this detects the case of a machine check event coming from outer
* space (not detected by any CPUs) In this case some external agent wants
* us to shut down, so panic too.
*
Expand Down Expand Up @@ -665,7 +665,7 @@ static void mce_reign(void)
* No machine check event found. Must be some external
* source or one CPU is hung. Panic.
*/
if (!m && tolerant < 3)
if (global_worst <= MCE_KEEP_SEVERITY && tolerant < 3)
mce_panic("Machine check from unknown source", NULL, NULL);

/*
Expand Down Expand Up @@ -889,11 +889,11 @@ void do_machine_check(struct pt_regs *regs, long error_code)
mce_setup(&m);

m.mcgstatus = mce_rdmsrl(MSR_IA32_MCG_STATUS);
no_way_out = mce_no_way_out(&m, &msg);

final = &__get_cpu_var(mces_seen);
*final = m;

no_way_out = mce_no_way_out(&m, &msg);

barrier();

/*
Expand Down

0 comments on commit c7d7455

Please sign in to comment.