projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'powerpc-4.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
jump_label.c
diff --git
a/arch/x86/kernel/jump_label.c
b/arch/x86/kernel/jump_label.c
index 26d5a55a273610b8d49da975a006f156adb4e482..e565e0e4d21698c40297d01991a74ff659fca5c3 100644
(file)
--- a/
arch/x86/kernel/jump_label.c
+++ b/
arch/x86/kernel/jump_label.c
@@
-45,7
+45,7
@@
static void __jump_label_transform(struct jump_entry *entry,
const unsigned char default_nop[] = { STATIC_KEY_INIT_NOP };
const unsigned char *ideal_nop = ideal_nops[NOP_ATOMIC5];
- if (type == JUMP_LABEL_
ENABLE
) {
+ if (type == JUMP_LABEL_
JMP
) {
if (init) {
/*
* Jump label is enabled for the first time.