x86: Make jump_label use int3-based patching
authorJiri Kosina <jkosina@suse.cz>
Fri, 12 Jul 2013 09:22:09 +0000 (11:22 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 17 Jul 2013 00:55:37 +0000 (17:55 -0700)
commit51b2c07b22261f19188d9a9071943d60a067481c
treec4c220205050ed11403ed8610fd557d44296bbb1
parentfd4363fff3d96795d3feb1b3fb48ce590f186bdd
x86: Make jump_label use int3-based patching

Make jump labels use text_poke_bp() for text patching instead of
text_poke_smp(), avoiding the need for stop_machine().

Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1307121120250.29788@pobox.suse.cz
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/jump_label.c