[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-78345d2edc25e001558f3b7c85906f645d38d23c@git.kernel.org>
Date: Fri, 18 Nov 2011 15:35:14 -0800
From: tip-bot for Rabin Vincent <rabin@....in>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
mathieu.desnoyers@...icios.com, rabin@....in,
a.p.zijlstra@...llo.nl, masami.hiramatsu.pt@...achi.com,
tglx@...utronix.de, jbaron@...hat.com, mingo@...e.hu
Subject: [tip:x86/urgent] x86: Call stop_machine_text_poke() on all CPUs
Commit-ID: 78345d2edc25e001558f3b7c85906f645d38d23c
Gitweb: http://git.kernel.org/tip/78345d2edc25e001558f3b7c85906f645d38d23c
Author: Rabin Vincent <rabin@....in>
AuthorDate: Thu, 27 Oct 2011 13:24:32 +0530
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Mon, 14 Nov 2011 13:05:15 +0100
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@....in>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: Jason Baron <jbaron@...hat.com>
Link: http://lkml.kernel.org/r/1319702072-32676-1-git-send-email-rabin@rab.in
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
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);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists