Skip to content

Commit 38d73b6

Browse files
sathvika-vmpe
authored andcommitted
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: 58f24ee ("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
1 parent 3c2ce49 commit 38d73b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/powerpc/kernel/head_64.S

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ SYM_FUNC_START_LOCAL(__mmu_off)
472472
b . /* prevent speculative execution */
473473
SYM_FUNC_END(__mmu_off)
474474

475-
start_initialization_book3s:
475+
SYM_FUNC_START_LOCAL(start_initialization_book3s)
476476
mflr r25
477477

478478
/* Setup some critical 970 SPRs before switching MMU off */
@@ -494,6 +494,7 @@ start_initialization_book3s:
494494

495495
mtlr r25
496496
blr
497+
SYM_FUNC_END(start_initialization_book3s)
497498
#endif
498499

499500
/*

0 commit comments

Comments
 (0)