--- zzzz-none-000/linux-3.10.107/arch/arm/kernel/jump_label.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/kernel/jump_label.c 2021-02-04 17:41:59.000000000 +0000 @@ -1,8 +1,7 @@ #include #include - -#include "insn.h" -#include "patch.h" +#include +#include #ifdef HAVE_JUMP_LABEL @@ -13,13 +12,13 @@ void *addr = (void *)entry->code; unsigned int insn; - if (type == JUMP_LABEL_ENABLE) + if (type == JUMP_LABEL_JMP) insn = arm_gen_branch(entry->code, entry->target); else insn = arm_gen_nop(); if (is_static) - __patch_text(addr, insn); + __patch_text_early(addr, insn); else patch_text(addr, insn); }