diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2013-07-18 07:47:53 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-07-19 03:57:04 -0400 |
commit | ea8596bb2d8d37957f3e92db9511c50801689180 (patch) | |
tree | 10aa945bfe2462e7d144a39121532e1528a382f7 /arch/x86/Kconfig | |
parent | a7b0133ea94e4421a81702d5c0e6dcdbbbab8f6b (diff) |
kprobes/x86: Remove unused text_poke_smp() and text_poke_smp_batch() functions
Since introducing the text_poke_bp() for all text_poke_smp*()
callers, text_poke_smp*() are now unused. This patch basically
reverts:
3d55cc8a058e ("x86: Add text_poke_smp for SMP cross modifying code")
7deb18dcf047 ("x86: Introduce text_poke_smp_batch() for batch-code modifying")
and related commits.
This patch also fixes a Kconfig dependency issue on STOP_MACHINE
in the case of CONFIG_SMP && !CONFIG_MODULE_UNLOAD.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jason Baron <jbaron@akamai.com>
Cc: yrl.pp-manager.tt@hitachi.com
Cc: Borislav Petkov <bpetkov@suse.de>
Link: http://lkml.kernel.org/r/20130718114753.26675.18714.stgit@mhiramat-M0-7522
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b32ebf92b0ce..3106e0e2647a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -81,7 +81,6 @@ config X86 | |||
81 | select HAVE_USER_RETURN_NOTIFIER | 81 | select HAVE_USER_RETURN_NOTIFIER |
82 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE | 82 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE |
83 | select HAVE_ARCH_JUMP_LABEL | 83 | select HAVE_ARCH_JUMP_LABEL |
84 | select HAVE_TEXT_POKE_SMP | ||
85 | select HAVE_GENERIC_HARDIRQS | 84 | select HAVE_GENERIC_HARDIRQS |
86 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | 85 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE |
87 | select SPARSE_IRQ | 86 | select SPARSE_IRQ |
@@ -2332,10 +2331,6 @@ config HAVE_ATOMIC_IOMAP | |||
2332 | def_bool y | 2331 | def_bool y |
2333 | depends on X86_32 | 2332 | depends on X86_32 |
2334 | 2333 | ||
2335 | config HAVE_TEXT_POKE_SMP | ||
2336 | bool | ||
2337 | select STOP_MACHINE if SMP | ||
2338 | |||
2339 | config X86_DEV_DMA_OPS | 2334 | config X86_DEV_DMA_OPS |
2340 | bool | 2335 | bool |
2341 | depends on X86_64 || STA2X11 | 2336 | depends on X86_64 || STA2X11 |