Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163034
b: refs/heads/master
c: 9eda8cb
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed Jul 10, 2009
1 parent 3fb57df commit 3deae45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 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: c1ebf835617035b1f08f734247dcb981e17aac6b
refs/heads/master: 9eda8cb3ac235217e4ffa01cb9cedee1c1550599
22 changes: 11 additions & 11 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@

#include "mce-internal.h"

/* Handle unconfigured int18 (should never happen) */
static void unexpected_machine_check(struct pt_regs *regs, long error_code)
{
printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n",
smp_processor_id());
}

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

int mce_disabled __read_mostly;

#define MISC_MCELOG_MINOR 227
Expand Down Expand Up @@ -1322,6 +1311,17 @@ static void mce_init_timer(void)
add_timer(t);
}

/* Handle unconfigured int18 (should never happen) */
static void unexpected_machine_check(struct pt_regs *regs, long error_code)
{
printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n",
smp_processor_id());
}

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

/*
* Called for each booted CPU to set up machine checks.
* Must be called with preempt off:
Expand Down

0 comments on commit 3deae45

Please sign in to comment.