Only include machine/specialreg.h on x86

This commit is contained in:
Andrew Turner 2015-04-03 12:30:18 +00:00
parent cf5d3022f9
commit 5da820b611

View File

@ -39,7 +39,10 @@ __FBSDID("$FreeBSD$");
#include <machine/elf.h> #include <machine/elf.h>
#include <machine/metadata.h> #include <machine/metadata.h>
#include <machine/psl.h> #include <machine/psl.h>
#if defined(__amd64__) || defined(__i386__)
#include <machine/specialreg.h> #include <machine/specialreg.h>
#endif
#include <efi.h> #include <efi.h>
#include <efilib.h> #include <efilib.h>