Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148871
b: refs/heads/master
c: 711c2e4
h: refs/heads/master
i:
  148869: e5df9cc
  148867: 7d0a28f
  148863: b173310
v: v3
  • Loading branch information
Ingo Molnar authored and H. Peter Anvin committed May 28, 2009
1 parent e59ae2d commit 270ee96
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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: a988d334ae8213c0e0e62327222f6e5e6e52bcf1
refs/heads/master: 711c2e481c9d1113650d09de10f61ee88ab56fda
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include <linux/init.h>
#include <asm/mce.h>

#ifdef CONFIG_X86_32

void amd_mcheck_init(struct cpuinfo_x86 *c);
void intel_p4_mcheck_init(struct cpuinfo_x86 *c);
void intel_p5_mcheck_init(struct cpuinfo_x86 *c);
void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
void winchip_mcheck_init(struct cpuinfo_x86 *c);

#ifdef CONFIG_X86_32

/* Call the installed machine check handler for this CPU setup. */
extern void (*machine_check_vector)(struct pt_regs *, long error_code);

Expand Down
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/cpu/mcheck/mce_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
#include <asm/msr.h>
#include <asm/smp.h>

#include "mce.h"

#ifdef CONFIG_X86_64

#define MISC_MCELOG_MINOR 227

atomic_t mce_entry;
Expand Down Expand Up @@ -1241,7 +1245,7 @@ static __init int mce_init_device(void)

device_initcall(mce_init_device);

#ifdef CONFIG_X86_32
#else /* CONFIG_X86_32: */

int mce_disabled;

Expand Down

0 comments on commit 270ee96

Please sign in to comment.