Skip to content

Commit 74ea805

Browse files
author
Peter Zijlstra
committed
x86/xen: Make hypercall_page noinstr
vmlinux.o: warning: objtool: xen_set_debugreg()+0x3: call to hypercall_page() leaves .noinstr.text section vmlinux.o: warning: objtool: xen_get_debugreg()+0x3: call to hypercall_page() leaves .noinstr.text section vmlinux.o: warning: objtool: xen_irq_enable()+0x24: call to hypercall_page() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 20125c8 commit 74ea805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/xen-head.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <xen/interface/xen-mca.h>
2121
#include <asm/xen/interface.h>
2222

23-
.pushsection .text
23+
.pushsection .noinstr.text, "ax"
2424
.balign PAGE_SIZE
2525
SYM_CODE_START(hypercall_page)
2626
.rept (PAGE_SIZE / 32)

0 commit comments

Comments
 (0)