diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2010-10-13 23:10:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-14 02:55:29 -0400 |
commit | 3cba11d32bb4b24c3ba257043595772df4b9c7b5 (patch) | |
tree | b802d7d0a1533285d91a0cb2c24b0bc5eb341013 | |
parent | 3caa37519ccbb200c7fbbf6ff4fb306a30f29425 (diff) |
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>
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b431a0824a93..c14d8b4d2f71 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -60,6 +60,7 @@ config X86 | |||
60 | select HAVE_ARCH_KMEMCHECK | 60 | select HAVE_ARCH_KMEMCHECK |
61 | select HAVE_USER_RETURN_NOTIFIER | 61 | select HAVE_USER_RETURN_NOTIFIER |
62 | select HAVE_ARCH_JUMP_LABEL | 62 | select HAVE_ARCH_JUMP_LABEL |
63 | select HAVE_TEXT_POKE_SMP | ||
63 | 64 | ||
64 | config INSTRUCTION_DECODER | 65 | config INSTRUCTION_DECODER |
65 | def_bool (KPROBES || PERF_EVENTS) | 66 | def_bool (KPROBES || PERF_EVENTS) |
@@ -2126,6 +2127,10 @@ config HAVE_ATOMIC_IOMAP | |||
2126 | def_bool y | 2127 | def_bool y |
2127 | depends on X86_32 | 2128 | depends on X86_32 |
2128 | 2129 | ||
2130 | config HAVE_TEXT_POKE_SMP | ||
2131 | bool | ||
2132 | select STOP_MACHINE if SMP | ||
2133 | |||
2129 | source "net/Kconfig" | 2134 | source "net/Kconfig" |
2130 | 2135 | ||
2131 | source "drivers/Kconfig" | 2136 | source "drivers/Kconfig" |