These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / powerpc / kernel / jump_label.c
index a1ed8a8..6472472 100644 (file)
@@ -17,7 +17,7 @@ void arch_jump_label_transform(struct jump_entry *entry,
 {
        u32 *addr = (u32 *)(unsigned long)entry->code;
 
-       if (type == JUMP_LABEL_ENABLE)
+       if (type == JUMP_LABEL_JMP)
                patch_branch(addr, entry->target, 0);
        else
                patch_instruction(addr, PPC_INST_NOP);