aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-12-04 00:23:22 +0000
committerWarner Losh <imp@FreeBSD.org>2023-01-24 21:49:42 +0000
commit374952d9911bf362c97751d93311df9e1c9457dc (patch)
tree46c51cb3353acd7da174d0a1c941ffb73be98fdc
parent495986b63bf1e6e539e8accb24168503b96ed2f1 (diff)
downloadsrc-374952d9911bf362c97751d93311df9e1c9457dc.tar.gz
src-374952d9911bf362c97751d93311df9e1c9457dc.zip
stand/efi: Better include order for sharing
Have a better include order so this can more easily be shared between EFI and kboot. Fewer ifdefs and the same (enough) include order as before. Sponsored by: Netflix (cherry picked from commit 3f2c1eb5b84317bae98420c1346304b604436727)
-rw-r--r--stand/efi/loader/bootinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c
index 8daa00660e17..2187a09c1ebf 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -45,12 +45,12 @@ __FBSDID("$FreeBSD$");
#include "bootstrap.h"
#include "modinfo.h"
-#include "loader_efi.h"
#if defined(__amd64__)
#include <machine/specialreg.h>
#endif
+#include "loader_efi.h"
#include "gfx_fb.h"
#if defined(LOADER_FDT_SUPPORT)