Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 12:30:19 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281021 - head/sys/boot/efi/loader
Message-ID:  <201504031230.t33CUJrt031680@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504031230.t33CUJrt031680>