x86/jump-label: Do not bother updating nops if they are correct
authorSteven Rostedt <srostedt@redhat.com>
Thu, 26 Jan 2012 23:16:15 +0000 (18:16 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 7 Aug 2013 01:43:18 +0000 (21:43 -0400)
commit11570da1c5b1dee1dc1439159e967ee44214a78b
tree186933d1597c8511c4fc8cdc0dc51062ed3f01b1
parentc3c7f14a116c24d6fba185c95cd7454f3764f8a9
x86/jump-label: Do not bother updating nops if they are correct

On boot up, the jump label init function scans all the jump label locations
and converts them to the best nop for the machine. If the nop is already
the ideal nop, do not bother with changing it.

Cc: Jason Baron <jbaron@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/jump_label.c