Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166409
b: refs/heads/master
c: 14c0abf
h: refs/heads/master
i:
  166407: aae6cd4
v: v3
  • Loading branch information
Huang Ying authored and Ingo Molnar committed Sep 22, 2009
1 parent 23da225 commit 6d6e4c3
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b417c9fd8690637f0c91479435ab3e2bf450c038
refs/heads/master: 14c0abf14a5e67e793131116bd97f57da37ccce3
7 changes: 4 additions & 3 deletions trunk/arch/x86/kernel/cpu/mcheck/mce-inject.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ static struct notifier_block mce_raise_nb = {
};

/* Inject mce on current CPU */
static int raise_local(struct mce *m)
static int raise_local(void)
{
struct mce *m = &__get_cpu_var(injectm);
int context = MCJ_CTX(m->inject_flags);
int ret = 0;
int cpu = m->extcpu;
Expand Down Expand Up @@ -167,12 +168,12 @@ static void raise_mce(struct mce *m)
}
cpu_relax();
}
raise_local(m);
raise_local();
put_cpu();
put_online_cpus();
} else
#endif
raise_local(m);
raise_local();
}

/* Error injection interface */
Expand Down

0 comments on commit 6d6e4c3

Please sign in to comment.