Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138630
b: refs/heads/master
c: 5b4408f
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed Feb 17, 2009
1 parent 485ad28 commit 73307d6
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: 52d168e28bc11dd026b620fe1767cadde5a747cd
refs/heads/master: 5b4408fdaa62474dd9485cddb9126370d90d4b82
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/cpu/mcheck/mce_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ static void mce_panic(char *msg, struct mce *backup, unsigned long start)

static int mce_available(struct cpuinfo_x86 *c)
{
if (mce_dont_init)
return 0;
return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA);
}

Expand Down Expand Up @@ -532,8 +534,7 @@ void __cpuinit mcheck_init(struct cpuinfo_x86 *c)
{
mce_cpu_quirks(c);

if (mce_dont_init ||
!mce_available(c))
if (!mce_available(c))
return;

mce_init(NULL);
Expand Down Expand Up @@ -710,8 +711,7 @@ static int __init mcheck_disable(char *str)
return 1;
}

/* mce=off disables machine check. Note you can re-enable it later
using sysfs.
/* mce=off disables machine check.
mce=TOLERANCELEVEL (number, see above)
mce=bootlog Log MCEs from before booting. Disabled by default on AMD.
mce=nobootlog Don't log MCEs from before booting. */
Expand Down

0 comments on commit 73307d6

Please sign in to comment.