diff options
| author | Juergen Gross <[email protected]> | 2021-11-25 09:20:56 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2021-11-25 15:25:39 +0000 |
| commit | 00db58cf21188f4b99bc5f15fcc2995e30e4a9fe (patch) | |
| tree | e9c20b188e126e6592c9a1983b5860305b9dad3b /arch/x86/include/asm/xen/hypercall.h | |
| parent | xen: make HYPERVISOR_get_debugreg() always_inline (diff) | |
| download | kernel-00db58cf21188f4b99bc5f15fcc2995e30e4a9fe.tar.gz kernel-00db58cf21188f4b99bc5f15fcc2995e30e4a9fe.zip | |
xen: make HYPERVISOR_set_debugreg() always_inline
HYPERVISOR_set_debugreg() is being called from noinstr code, so it
should be attributed "always_inline".
Fixes: 7361fac0465ba96ec8f ("x86/xen: Make set_debugreg() noinstr")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Boris Ostrovsky <[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 28ca1119606b..e5e0fe10c692 100644 --- a/arch/x86/include/asm/xen/hypercall.h +++ b/arch/x86/include/asm/xen/hypercall.h @@ -281,7 +281,7 @@ HYPERVISOR_callback_op(int cmd, void *arg) return _hypercall2(int, callback_op, cmd, arg); } -static inline int +static __always_inline int HYPERVISOR_set_debugreg(int reg, unsigned long value) { return _hypercall2(int, set_debugreg, reg, value); |
