]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kprobes/x86: Remove unused text_poke_smp() and text_poke_smp_batch() functions
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 18 Jul 2013 11:47:53 +0000 (20:47 +0900)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Jul 2013 07:57:04 +0000 (09:57 +0200)
commitea8596bb2d8d37957f3e92db9511c50801689180
tree10aa945bfe2462e7d144a39121532e1528a382f7
parenta7b0133ea94e4421a81702d5c0e6dcdbbbab8f6b
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>
arch/x86/Kconfig
arch/x86/include/asm/alternative.h
arch/x86/kernel/alternative.c