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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to