Skip to content

Commit 2730d3c

Browse files
author
Peter Zijlstra
committed
x86,xen,objtool: Add UNWIND hint
SYM_CODE_START*() doesn't get auto-validated and needs an UNWIND hint to get checked, add one. vmlinux.o: warning: objtool: pvh_start_xen()+0x0: unreachable Reported-by: Thomas Gleixner <[email protected]> Reported-by: Rick Edgecombe <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 226d44a commit 2730d3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/platform/pvh/head.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#define PVH_DS_SEL (PVH_GDT_ENTRY_DS * 8)
5151

5252
SYM_CODE_START_LOCAL(pvh_start_xen)
53+
UNWIND_HINT_EMPTY
5354
cld
5455

5556
lgdt (_pa(gdt))

0 commit comments

Comments
 (0)