Commit 3cba11d32bb4b24c3ba257043595772df4b9c7b5

Authored by Masami Hiramatsu
Committed by Ingo Molnar
1 parent 3caa37519c

kconfig/x86: Add HAVE_TEXT_POKE_SMP config for stop_machine dependency

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>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

... ... @@ -60,6 +60,7 @@
60 60 select HAVE_ARCH_KMEMCHECK
61 61 select HAVE_USER_RETURN_NOTIFIER
62 62 select HAVE_ARCH_JUMP_LABEL
  63 + select HAVE_TEXT_POKE_SMP
63 64  
64 65 config INSTRUCTION_DECODER
65 66 def_bool (KPROBES || PERF_EVENTS)
... ... @@ -2125,6 +2126,10 @@
2125 2126 config HAVE_ATOMIC_IOMAP
2126 2127 def_bool y
2127 2128 depends on X86_32
  2129 +
  2130 +config HAVE_TEXT_POKE_SMP
  2131 + bool
  2132 + select STOP_MACHINE if SMP
2128 2133  
2129 2134 source "net/Kconfig"
2130 2135