x86: Use __stop_machine() in text_poke_smp()
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 14 Oct 2010 03:10:36 +0000 (12:10 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 14 Oct 2010 06:55:28 +0000 (08:55 +0200)
commit3caa37519ccbb200c7fbbf6ff4fb306a30f29425
treefc2c999dd90d8d47f2a928960f02f6280b14f819
parent087a4eb55971dfcc8df18312faf9393d0a479f3a
x86: Use __stop_machine() in text_poke_smp()

Use __stop_machine() in text_poke_smp() because the caller
must get online_cpus before calling text_poke_smp(), but
stop_machine() do it again. We don't need it.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
LKML-Reference: <20101014031036.4100.83989.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/alternative.c