diff options
| author | Peter Zijlstra <[email protected]> | 2021-06-24 09:41:16 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-09-17 11:14:39 +0000 |
| commit | 7361fac0465ba96ec8f7559459e3c70818ba6c78 (patch) | |
| tree | 18f1aac84fbca411ab1b871497c07db438cf5608 /arch/x86/include/asm/xen/hypercall.h | |
| parent | x86/xen: Make get_debugreg() noinstr (diff) | |
| download | kernel-7361fac0465ba96ec8f7559459e3c70818ba6c78.tar.gz kernel-7361fac0465ba96ec8f7559459e3c70818ba6c78.zip | |
x86/xen: Make set_debugreg() noinstr
vmlinux.o: warning: objtool: pv_ops[2]: xen_set_debugreg
vmlinux.o: warning: objtool: pv_ops[2]: native_set_debugreg
vmlinux.o: warning: objtool: exc_debug()+0x3b: call to pv_ops[2]() 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]
Diffstat (limited to 'arch/x86/include/asm/xen/hypercall.h')
| -rw-r--r-- | arch/x86/include/asm/xen/hypercall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/xen/hypercall.h b/arch/x86/include/asm/xen/hypercall.h index af9220258d82..990b8aa179c8 100644 --- a/arch/x86/include/asm/xen/hypercall.h +++ b/arch/x86/include/asm/xen/hypercall.h @@ -308,7 +308,7 @@ HYPERVISOR_platform_op(struct xen_platform_op *op) return _hypercall1(int, platform_op, op); } -static inline int +static __always_inline int HYPERVISOR_set_debugreg(int reg, unsigned long value) { return _hypercall2(int, set_debugreg, reg, value); |
