Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18016
b: refs/heads/master
c: 0a9c3ee
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 12, 2006
1 parent 6cfd7d5 commit fa680cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 11a8e778c46ee76fc46b0a7fa9d455b5a8e3e19f
refs/heads/master: 0a9c3ee7692fa20670986bcf550950e88ab9b4cc
3 changes: 2 additions & 1 deletion trunk/arch/x86_64/kernel/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <asm/mce.h>
#include <asm/kdebug.h>
#include <asm/uaccess.h>
#include <asm/smp.h>

#define MISC_MCELOG_MINOR 227
#define NR_BANKS 6
Expand Down Expand Up @@ -178,7 +179,7 @@ void do_machine_check(struct pt_regs * regs, long error_code)
return;

memset(&m, 0, sizeof(struct mce));
m.cpu = hard_smp_processor_id();
m.cpu = safe_smp_processor_id();
rdmsrl(MSR_IA32_MCG_STATUS, m.mcgstatus);
if (!(m.mcgstatus & MCG_STATUS_RIPV))
kill_it = 1;
Expand Down

0 comments on commit fa680cb

Please sign in to comment.