]> git.baikalelectronics.ru Git - kernel.git/commit
xen: make HYPERVISOR_set_debugreg() always_inline
authorJuergen Gross <jgross@suse.com>
Thu, 25 Nov 2021 09:20:56 +0000 (10:20 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 25 Nov 2021 15:25:39 +0000 (09:25 -0600)
commit575ab70ef9dcd354916e605f5666913799a9eb9b
treee9c20b188e126e6592c9a1983b5860305b9dad3b
parent0d8fee6712871f5a41878843f8ecb0a4b2ef3f5d
xen: make HYPERVISOR_set_debugreg() always_inline

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

Fixes: ac75c3bf296b17fe4e4 ("x86/xen: Make set_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-3-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/include/asm/xen/hypercall.h