diff options
author | Sathvika Vasireddy <sv@linux.ibm.com> | 2022-12-15 17:22:58 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-03-03 22:20:28 +1100 |
commit | 6035e7e35482653d6d93f35f01e1a320573d58f0 (patch) | |
tree | 5aa8d6ae195b5d4188a66f5c8d0b679f59a5f8ea /arch/powerpc | |
parent | b72c066ba85a131091498a15a62d6068997278a4 (diff) | |
download | linux-stable-6035e7e35482653d6d93f35f01e1a320573d58f0.tar.gz linux-stable-6035e7e35482653d6d93f35f01e1a320573d58f0.tar.bz2 linux-stable-6035e7e35482653d6d93f35f01e1a320573d58f0.zip |
powerpc/32: Curb objtool unannotated intra-function call warning
objtool throws the following warning:
arch/powerpc/kexec/relocate_32.o: warning: objtool: .text+0x2bc: unannotated intra-function call
Fix this warning by annotating intra-function call, using
ANNOTATE_INTRA_FUNCTION_CALL macro, to indicate that the branch target
is valid.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20221215115258.80810-1-sv@linux.ibm.com
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kexec/relocate_32.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kexec/relocate_32.S b/arch/powerpc/kexec/relocate_32.S index d9f0dd9b34ff..104c9911f406 100644 --- a/arch/powerpc/kexec/relocate_32.S +++ b/arch/powerpc/kexec/relocate_32.S @@ -8,6 +8,7 @@ * Author: Suzuki Poulose <suzuki@in.ibm.com> */ +#include <linux/objtool.h> #include <asm/reg.h> #include <asm/page.h> #include <asm/mmu.h> @@ -349,6 +350,7 @@ write_utlb: cmpwi r10, PPC47x_TLB0_4K bne 0f li r10, 0x1000 /* r10 = 4k */ + ANNOTATE_INTRA_FUNCTION_CALL bl 1f 0: |