summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-10-09 00:22:21 +0000
committeradrian <adrian@FreeBSD.org>2013-10-09 00:22:21 +0000
commitce0fc242f77ded919627602c30b5a37691f3d60b (patch)
tree7cd86cbc288bfc2b274c5f843ed54ac193f72638 /sys/mips
parentbfcce6c74047531786722a8fc2e026d049a2804d (diff)
downloadFreeBSD-src-ce0fc242f77ded919627602c30b5a37691f3d60b.zip
FreeBSD-src-ce0fc242f77ded919627602c30b5a37691f3d60b.tar.gz
Shuffle the includes around so they occur after opt_global.h is included;
this way the CPU ABI / core #define items are there. Reviewed by: imp@ Approved by: re@ (gjb)
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/elf_trampoline.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/mips/mips/elf_trampoline.c b/sys/mips/mips/elf_trampoline.c
index 7d8324a..7be26bb 100644
--- a/sys/mips/mips/elf_trampoline.c
+++ b/sys/mips/mips/elf_trampoline.c
@@ -32,10 +32,6 @@ __FBSDID("$FreeBSD$");
#else
#include <sys/elf32.h>
#endif
-#include <sys/inflate.h>
-#include <machine/elf.h>
-#include <machine/cpufunc.h>
-#include <machine/stdarg.h>
/*
* Since we are compiled outside of the normal kernel build process, we
@@ -43,6 +39,11 @@ __FBSDID("$FreeBSD$");
*/
#include "opt_global.h"
+#include <sys/inflate.h>
+#include <machine/elf.h>
+#include <machine/cpufunc.h>
+#include <machine/stdarg.h>
+
#ifndef KERNNAME
#error Kernel name not provided
#endif
OpenPOWER on IntegriCloud