Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148874
b: refs/heads/master
c: b659294
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar authored and H. Peter Anvin committed May 28, 2009
1 parent b852d27 commit dd7b886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb491fca55e5282f0a95ef39c55352e00d6ca75e
refs/heads/master: b659294b779565c60f5e12ef505328e2b974eb62
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ static int mce_cap_init(void)

rdmsrl(MSR_IA32_MCG_CAP, cap);
b = cap & 0xff;
printk(KERN_INFO "mce: CPU supports %d MCE banks\n", b);

if (b > MAX_NR_BANKS) {
printk(KERN_WARNING
"MCE: Using only %u machine check banks out of %u\n",
Expand Down Expand Up @@ -1287,6 +1289,7 @@ void mcheck_init(struct cpuinfo_x86 *c)
default:
break;
}
printk(KERN_INFO "mce: CPU supports %d MCE banks\n", nr_mce_banks);
}

static int __init mcheck_disable(char *str)
Expand Down

0 comments on commit dd7b886

Please sign in to comment.