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;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to