svn commit: r354055 - head/stand/efi/loader
Simon J. Gerraty
sjg at FreeBSD.org
Thu Oct 24 22:26:07 UTC 2019
Author: sjg
Date: Thu Oct 24 22:26:06 2019
New Revision: 354055
URL: https://svnweb.freebsd.org/changeset/base/354055
Log:
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
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
==============================================================================
--- head/stand/efi/loader/main.c Thu Oct 24 22:23:53 2019 (r354054)
+++ head/stand/efi/loader/main.c Thu Oct 24 22:26:06 2019 (r354055)
@@ -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;
More information about the svn-src-all
mailing list