]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xen: make HYPERVISOR_get_debugreg() always_inline
authorJuergen Gross <jgross@suse.com>
Thu, 25 Nov 2021 09:20:55 +0000 (10:20 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 25 Nov 2021 15:25:07 +0000 (09:25 -0600)
commitb1c45ad53efbad779aa6cdb588de0b8ea1ed54bb
tree9deeca858a387e774ed3635495caf6012f26d802
parent36e8f60f0867d3b70d398d653c17108459a04efe
xen: make HYPERVISOR_get_debugreg() always_inline

HYPERVISOR_get_debugreg() is being called from noinstr code, so it
should be attributed "always_inline".

Fixes: f4afb713e5c3a4419ba ("x86/xen: Make get_debugreg() noinstr")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20211125092056.24758-2-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/include/asm/xen/hypercall.h