These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / x86 / kernel / jump_label.c
index 26d5a55..e565e0e 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.