diff options
author | Rabin Vincent <rabin@rab.in> | 2011-10-27 13:24:32 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-11-14 13:05:15 +0100 |
commit | 78345d2edc25e001558f3b7c85906f645d38d23c (patch) | |
tree | d8bbddbf9d746edfc792fc809bbfa93e454a0b17 /arch | |
parent | 6fd36ba02132c61f67ebefff77fe710bd38ba95a (diff) | |
download | op-kernel-dev-78345d2edc25e001558f3b7c85906f645d38d23c.zip op-kernel-dev-78345d2edc25e001558f3b7c85906f645d38d23c.tar.gz |
x86: Call stop_machine_text_poke() on all CPUs
It appears that stop_machine_text_poke() wants to be called on all CPUs,
like it's done from text_poke_smp(). Fix text_poke_smp_batch() to do
this.
Signed-off-by: Rabin Vincent <rabin@rab.in>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/r/1319702072-32676-1-git-send-email-rabin@rab.in
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/alternative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index c638228..1f84794 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -738,5 +738,5 @@ void __kprobes text_poke_smp_batch(struct text_poke_param *params, int n) atomic_set(&stop_machine_first, 1); wrote_text = 0; - __stop_machine(stop_machine_text_poke, (void *)&tpp, NULL); + __stop_machine(stop_machine_text_poke, (void *)&tpp, cpu_online_mask); } |