Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53909
b: refs/heads/master
c: 2f3c30e
h: refs/heads/master
i:
  53907: dfd77f0
v: v3
  • Loading branch information
Joachim Deguara authored and Andi Kleen committed May 2, 2007
1 parent fbfc4fa commit 8bb3fe4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 1bdae4583e7abd2c1daedfc9f46ac6420a26c1b0
refs/heads/master: 2f3c30e6a886ddaf65cb74df82c03245050ff0aa
3 changes: 3 additions & 0 deletions trunk/arch/i386/kernel/cpu/mcheck/k7.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ void amd_mcheck_init(struct cpuinfo_x86 *c)
machine_check_vector = k7_machine_check;
wmb();

if (!cpu_has(c, X86_FEATURE_MCE))
return;

printk (KERN_INFO "Intel machine check architecture supported.\n");
rdmsr (MSR_IA32_MCG_CAP, l, h);
if (l & (1<<8)) /* Control register present ? */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/i386/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ void mcheck_init(struct cpuinfo_x86 *c)

switch (c->x86_vendor) {
case X86_VENDOR_AMD:
if (c->x86==6 || c->x86==15)
amd_mcheck_init(c);
amd_mcheck_init(c);
break;

case X86_VENDOR_INTEL:
Expand Down

0 comments on commit 8bb3fe4

Please sign in to comment.