Skip to content
Commit 4bff677b authored by Juergen Gross's avatar Juergen Gross
Browse files

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: default avatarJuergen Gross <jgross@suse.com>
parent 354d8a4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment