powerpc/32: Curb objtool unannotated intra-function call warning
authorSathvika Vasireddy <sv@linux.ibm.com>
Thu, 15 Dec 2022 11:52:58 +0000 (17:22 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Mar 2024 11:20:28 +0000 (22:20 +1100)
commit6035e7e35482653d6d93f35f01e1a320573d58f0
tree5aa8d6ae195b5d4188a66f5c8d0b679f59a5f8ea
parentb72c066ba85a131091498a15a62d6068997278a4
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
arch/powerpc/kexec/relocate_32.S