Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm...
[firefly-linux-kernel-4.4.55.git] / arch / sparc / kernel / jump_label.c
index 48565c11e82ae2fcc4ef3627abe67ba38ca811b2..59bbeff550243dc10ea558a013d09825303e4793 100644 (file)
@@ -16,7 +16,7 @@ void arch_jump_label_transform(struct jump_entry *entry,
        u32 val;
        u32 *insn = (u32 *) (unsigned long) entry->code;
 
-       if (type == JUMP_LABEL_ENABLE) {
+       if (type == JUMP_LABEL_JMP) {
                s32 off = (s32)entry->target - (s32)entry->code;
 
 #ifdef CONFIG_SPARC64