Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148898
b: refs/heads/master
c: 8be9110
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and H. Peter Anvin committed May 28, 2009
1 parent a23b38a commit 13f6430
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: fc016a49c2d92f2efbe22c1fb66eb7a5d2a06ed1
refs/heads/master: 8be9110569aec1f65d86b08aef7ec49659137bf9
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ static int mce_cap_init(void)
return 0;
}

static void mce_init(void *dummy)
static void mce_init(void)
{
mce_banks_t all_banks;
u64 cap;
Expand Down Expand Up @@ -776,7 +776,7 @@ void __cpuinit mcheck_init(struct cpuinfo_x86 *c)

machine_check_vector = do_machine_check;

mce_init(NULL);
mce_init();
mce_cpu_features(c);
mce_init_timer();
}
Expand Down Expand Up @@ -1020,7 +1020,7 @@ static int mce_shutdown(struct sys_device *dev)
*/
static int mce_resume(struct sys_device *dev)
{
mce_init(NULL);
mce_init();
mce_cpu_features(&current_cpu_data);

return 0;
Expand All @@ -1030,7 +1030,7 @@ static void mce_cpu_restart(void *data)
{
del_timer_sync(&__get_cpu_var(mce_timer));
if (mce_available(&current_cpu_data))
mce_init(NULL);
mce_init();
mce_init_timer();
}

Expand Down

0 comments on commit 13f6430

Please sign in to comment.