]> git.baikalelectronics.ru Git - kernel.git/commit
x86, cpu: Clean up and unify the NOP selection infrastructure
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 18 Apr 2011 22:19:51 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 18 Apr 2011 23:40:21 +0000 (16:40 -0700)
commit2824ff9c4487ed3dce8fb01c8abe2032a207c1bd
tree9181ef9c416e8fba822d75b53155c896b3900e72
parent877142a8c2988c577e1c309833d2b74aae614e76
x86, cpu: Clean up and unify the NOP selection infrastructure

Clean up and unify the NOP selection infrastructure:

- Make the atomic 5-byte NOP a part of the selection system.
- Pick NOPs once during early boot and then be done with it.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/r/1303166160-10315-3-git-send-email-hpa@linux.intel.com
arch/x86/include/asm/alternative.h
arch/x86/include/asm/nops.h
arch/x86/kernel/alternative.c
arch/x86/kernel/ftrace.c
arch/x86/kernel/jump_label.c
arch/x86/kernel/setup.c