File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3854,9 +3854,8 @@ static void kpatch_create_ftrace_callsite_sections(struct kpatch_elf *kelf)
38543854 insn_offset = sym -> sym .st_value + PPC64_LOCAL_ENTRY_OFFSET (sym -> sym .st_other );
38553855 insn = sym -> sec -> data -> d_buf + insn_offset ;
38563856
3857- /* verify nops */
3858- if (insn [0 ] != 0x00 || insn [1 ] != 0x00 || insn [2 ] != 0x00 || insn [3 ] != 0x60 ||
3859- insn [4 ] != 0x00 || insn [5 ] != 0x00 || insn [6 ] != 0x00 || insn [7 ] != 0x60 )
3857+ /* verify nop */
3858+ if (insn [0 ] != 0x00 || insn [1 ] != 0x00 || insn [2 ] != 0x00 || insn [3 ] != 0x60 )
38603859 ERROR ("%s: unexpected instruction in patch section of function\n" , sym -> name );
38613860 } else {
38623861 bool found = false;
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ if [[ "$TOOLCHAINCMD" =~ ^(.*-)?gcc$ || "$TOOLCHAINCMD" =~ ^(.*-)?clang$ ]] ; th
3939 arch/x86/vdso/* |\
4040 arch/powerpc/kernel/prom_init.o|\
4141 arch/powerpc/kernel/vdso64/* |\
42+ arch/powerpc/tools/vmlinux.arch.o|\
4243 arch/s390/boot/* |\
4344 arch/s390/purgatory/* |\
4445 arch/s390/kernel/vdso64/* |\
You can’t perform that action at this time.
0 commit comments