powerpc/64: Fix unannotated intra-function call warning
authorSathvika Vasireddy <sv@linux.ibm.com>
Fri, 17 Feb 2023 04:32:26 +0000 (10:02 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2023 11:11:55 +0000 (22:11 +1100)
commit38d73b671a817328334f2a70a23fed4d1f4a952c
tree8746e9e743979c72574a35fa10f4a2d4ec3526f7
parent3c2ce4912a6f44dfb11bc5d241b13e9f5d79078b
powerpc/64: Fix unannotated intra-function call warning

objtool throws the following warning:
  arch/powerpc/kernel/head_64.o: warning: objtool: .text+0x6128:
  unannotated intra-function call

Fix the warning by annotating start_initialization_book3s symbol with the
SYM_FUNC_START_LOCAL and SYM_FUNC_END macros.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Fixes: 58f24eea5278 ("powerpc/64s: Refactor initialisation after prom")
Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230217043226.1020041-1-sv@linux.ibm.com
arch/powerpc/kernel/head_64.S