]> 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)
commitdb4c627a3d526d552926cf60a9e7a709c2f7c082
tree664c920b8ada72df7b82c6d56f644d476828e3b2
parent9010dc8a759481bf479d7176a34850f5e24fb8dc
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