Skip to content
Commit 86cb6544 authored by Alexey Makhalov's avatar Alexey Makhalov Committed by Borislav Petkov (AMD)
Browse files

x86/vmware: Correct macro names



VCPU_RESERVED and LEGACY_X2APIC are not VMware hypercall commands.  These are
bits in the return value of the VMWARE_CMD_GETVCPU_INFO command.  Change
VMWARE_CMD_ prefix to GETVCPU_INFO_ one. And move the bit-shift
operation into the macro body.

Fixes: 4cca6ea0 ("x86/apic: Allow x2apic without IR on VMware platform")
Signed-off-by: default avatarAlexey Makhalov <alexey.makhalov@broadcom.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240613191650.9913-7-alexey.makhalov@broadcom.com
parent b2c13c23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment