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
index 26d5a55a273610b8d49da975a006f156adb4e482..e565e0e4d21698c40297d01991a74ff659fca5c3 100644 (file)
@@ -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.