Skip to content

Commit

Permalink
kconfig/x86: Add HAVE_TEXT_POKE_SMP config for stop_machine dependency
Browse files Browse the repository at this point in the history
Since the text_poke_smp() definately depends on actual
stop_machine() on smp, add that dependency to Kconfig.

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: <20101014031042.4100.90877.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Masami Hiramatsu authored and Ingo Molnar committed Oct 14, 2010
1 parent 3caa375 commit 3cba11d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ config X86
select HAVE_ARCH_KMEMCHECK
select HAVE_USER_RETURN_NOTIFIER
select HAVE_ARCH_JUMP_LABEL
select HAVE_TEXT_POKE_SMP

config INSTRUCTION_DECODER
def_bool (KPROBES || PERF_EVENTS)
Expand Down Expand Up @@ -2126,6 +2127,10 @@ config HAVE_ATOMIC_IOMAP
def_bool y
depends on X86_32

config HAVE_TEXT_POKE_SMP
bool
select STOP_MACHINE if SMP

source "net/Kconfig"

source "drivers/Kconfig"
Expand Down

0 comments on commit 3cba11d

Please sign in to comment.