diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-04-08 11:45:54 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-04-19 21:58:47 +0200 |
commit | 2730d3c14a85617c177337f2e2af2108bf82c4ca (patch) | |
tree | fae39a5e1e114ed5059426cca403da70549b6ca3 /arch/x86 | |
parent | 226d44acf6dfe71c9df5804b82364e93cf908b53 (diff) | |
download | linux-2730d3c14a85617c177337f2e2af2108bf82c4ca.tar.bz2 |
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
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/platform/pvh/head.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/platform/pvh/head.S b/arch/x86/platform/pvh/head.S index 72c1e42d121d..7fe564eaf228 100644 --- a/arch/x86/platform/pvh/head.S +++ b/arch/x86/platform/pvh/head.S @@ -50,6 +50,7 @@ #define PVH_DS_SEL (PVH_GDT_ENTRY_DS * 8) SYM_CODE_START_LOCAL(pvh_start_xen) + UNWIND_HINT_EMPTY cld lgdt (_pa(gdt)) |