]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: simplify sysenter and syscall setup
authorJuergen Gross <jgross@suse.com>
Thu, 20 Oct 2022 11:25:12 +0000 (13:25 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 3 Nov 2022 09:39:55 +0000 (10:39 +0100)
commit907a06a4c93f3ef771c0a17edc57f56a35de771c
tree664c920b8ada72df7b82c6d56f644d476828e3b2
parented4350d7d3578c798104685144ec478e6e6016bb
x86/xen: simplify sysenter and syscall setup

xen_enable_sysenter() and xen_enable_syscall() can be simplified a lot.

While at it, switch to use cpu_feature_enabled() instead of
boot_cpu_has().

Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/setup.c