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 <tglx@linutronix.de> Reported-by: Rick Edgecombe <rick.p.edgecombe@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20220408094718.321246297@infradead.org
1 parent 226d44a commit 2730d3c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)