From 21686d9e64134c9cbb3b665a02ca6792e795f22c Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Thu, 24 Oct 2019 22:26:06 +0000 Subject: [PATCH] Guard reference to x86_hypervisor Obviously we only want x86_hypervisor on x86 Guard reference to x86_hypervisor Obviously we only want x86_hypervisor on x86 --- stand/efi/loader/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 69cb7df5ac4c..29c97cffa011 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -863,7 +863,9 @@ main(int argc, CHAR16 *argv[]) archsw.arch_getdev = efi_getdev; archsw.arch_copyin = efi_copyin; archsw.arch_copyout = efi_copyout; +#ifdef __amd64__ archsw.arch_hypervisor = x86_hypervisor; +#endif archsw.arch_readin = efi_readin; archsw.arch_zfs_probe = efi_zfs_probe;