kconfig/x86: Add HAVE_TEXT_POKE_SMP config for stop_machine dependency
authorMasami Hiramatsu <[email protected]>
Thu, 14 Oct 2010 03:10:42 +0000 (12:10 +0900)
committerIngo Molnar <[email protected]>
Thu, 14 Oct 2010 06:55:29 +0000 (08:55 +0200)
Since the text_poke_smp() definately depends on actual
stop_machine() on smp, add that dependency to Kconfig.

Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: [email protected]
Cc: Mathieu Desnoyers <[email protected]>
LKML-Reference: <20101014031042[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/Kconfig

index b431a0824a9356b92d5c9328eb1e3176ba9eb0ff..c14d8b4d2f71ce62935786a39d465133b78fd8c6 100644 (file)
@@ -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)
@@ -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"