Skip to content

Commit b4339e0

Browse files
kelleymhtyhicks
authored andcommitted
Drivers: hv: Enable Hyper-V code to be built on ARM64
Update drivers/hv/Kconfig so CONFIG_HYPERV can be selected on ARM64, causing the Hyper-V specific code to be built. Signed-off-by: Michael Kelley <mikelley@microsoft.com> Reviewed-by: Sunil Muthuswamy <sunilmut@microsoft.com>
1 parent 067ab9d commit b4339e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/hv/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ menu "Microsoft Hyper-V guest support"
44

55
config HYPERV
66
tristate "Microsoft Hyper-V client drivers"
7-
depends on X86 && ACPI && X86_LOCAL_APIC && HYPERVISOR_GUEST
7+
depends on ACPI && ((X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
8+
|| (ARM64 && !CPU_BIG_ENDIAN))
89
select PARAVIRT
910
select X86_HV_CALLBACK_VECTOR
1011
help

0 commit comments

Comments
 (0)