aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2019-10-24 22:26:06 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2019-10-24 22:26:06 +0000
commit21686d9e64134c9cbb3b665a02ca6792e795f22c (patch)
tree84fe76cba28ed793d823c00db8370d82164c4cb7
parent93489854f4352f466bed5f8825c991c3d5953ff5 (diff)
downloadsrc-21686d9e64134c9cbb3b665a02ca6792e795f22c.tar.gz
src-21686d9e64134c9cbb3b665a02ca6792e795f22c.zip
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
Notes
Notes: svn path=/head/; revision=354055
-rw-r--r--stand/efi/loader/main.c2
1 files changed, 2 insertions, 0 deletions
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;