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)
commit4bff677b30156435afa2cc4c3601b542b4ddd439
tree664c920b8ada72df7b82c6d56f644d476828e3b2
parent354d8a4b165697e6da9585b3f651d87735f30415
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