aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/hv_spinlock.c
diff options
context:
space:
mode:
authorJoseph Salisbury <[email protected]>2020-09-26 07:26:26 -0700
committerThomas Gleixner <[email protected]>2020-09-27 11:34:54 +0200
commitdfc53baae3c6a165a35735b789e3e083786271d6 (patch)
treebd0856a148904cde58ff9106296b58963f00e444 /arch/x86/hyperv/hv_spinlock.c
parentba4f184e126b751d1bffad5897f263108befc780 (diff)
x86/hyperv: Remove aliases with X64 in their name
In the architecture independent version of hyperv-tlfs.h, commit c55a844f46f958b removed the "X64" in the symbol names so they would make sense for both x86 and ARM64. That commit added aliases with the "X64" in the x86 version of hyperv-tlfs.h so that existing x86 code would continue to compile. As a cleanup, update the x86 code to use the symbols without the "X64", then remove the aliases. There's no functional change. Signed-off-by: Joseph Salisbury <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/hyperv/hv_spinlock.c')
-rw-r--r--arch/x86/hyperv/hv_spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_spinlock.c b/arch/x86/hyperv/hv_spinlock.c
index 07f21a06392f..f3270c1fc48c 100644
--- a/arch/x86/hyperv/hv_spinlock.c
+++ b/arch/x86/hyperv/hv_spinlock.c
@@ -66,7 +66,7 @@ void __init hv_init_spinlocks(void)
{
if (!hv_pvspin || !apic ||
!(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) ||
- !(ms_hyperv.features & HV_X64_MSR_GUEST_IDLE_AVAILABLE)) {
+ !(ms_hyperv.features & HV_MSR_GUEST_IDLE_AVAILABLE)) {
pr_info("PV spinlocks disabled\n");
return;
}