On 11/4/22 00:26, Juergen Gross wrote:
> Testing for Xen PV guest mode in a 32-bit only code section can be
> dropped, as Xen PV guests are supported in 64-bit mode only.
>
> While at it switch from boot_cpu_has() to cpu_feature_enabled() in the
> 64-bit part of the code.
Acked-by: Dave Hansen
Testing for Xen PV guest mode in a 32-bit only code section can be
dropped, as Xen PV guests are supported in 64-bit mode only.
While at it switch from boot_cpu_has() to cpu_feature_enabled() in the
64-bit part of the code.
Signed-off-by: Juergen Gross
---
arch/x86/include/asm/switch_to.h | 7 +