x86, cpu: Clean up and unify the NOP selection infrastructure
authorH. Peter Anvin <[email protected]>
Mon, 18 Apr 2011 22:19:51 +0000 (15:19 -0700)
committerH. Peter Anvin <[email protected]>
Mon, 18 Apr 2011 23:40:21 +0000 (16:40 -0700)
commitdc326fca2b640fc41aed7c015d0f456935a66255
tree9181ef9c416e8fba822d75b53155c896b3900e72
parentb1e7734f024c9ce4393016a97c8d821e1f18d9b4
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 <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jason Baron <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
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