svn commit: r281021 - head/sys/boot/efi/loader

Andrew Turner andrew at FreeBSD.org
Fri Apr 3 12:30:19 UTC 2015


Author: andrew
Date: Fri Apr  3 12:30:18 2015
New Revision: 281021
URL: https://svnweb.freebsd.org/changeset/base/281021

Log:
  Only include machine/specialreg.h on x86

Modified:
  head/sys/boot/efi/loader/bootinfo.c

Modified: head/sys/boot/efi/loader/bootinfo.c
==============================================================================
--- head/sys/boot/efi/loader/bootinfo.c	Fri Apr  3 12:08:08 2015	(r281020)
+++ head/sys/boot/efi/loader/bootinfo.c	Fri Apr  3 12:30:18 2015	(r281021)
@@ -39,7 +39,10 @@ __FBSDID("$FreeBSD$");
 #include <machine/elf.h>
 #include <machine/metadata.h>
 #include <machine/psl.h>
+
+#if defined(__amd64__) || defined(__i386__)
 #include <machine/specialreg.h>
+#endif
 
 #include <efi.h>
 #include <efilib.h>


More information about the svn-src-all mailing list