From: Jason Baron Date: Thu, 28 Oct 2010 15:20:27 +0000 (-0400) Subject: x86, alternative: Call stop_machine_text_poke() on all cpus X-Git-Tag: v2.6.37-rc1~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404ba5d7bb958d3d788bdaa0debc0bdf60f13ffe;p=pandora-kernel.git x86, alternative: Call stop_machine_text_poke() on all cpus Currently, text_poke_smp() passes a NULL as the third argument to __stop_machine(), which will only run stop_machine_text_poke() on 1 cpu. Change NULL -> cpu_online_mask, as stop_machine_text_poke() is intended to be run on all cpus. I actually didn't notice any problems with stop_machine_text_poke() only being called on 1 cpu, but found this via code inspection. Signed-off-by: Jason Baron LKML-Reference: <20101028152026.GB2875@redhat.com> Acked-by: Mathieu Desnoyers Acked-by: Masami Hiramatsu Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed