svn commit: r256171 - head/sys/mips/mips

Adrian Chadd adrian at FreeBSD.org
Wed Oct 9 00:22:21 UTC 2013


Author: adrian
Date: Wed Oct  9 00:22:21 2013
New Revision: 256171
URL: http://svnweb.freebsd.org/changeset/base/256171

Log:
  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)

Modified:
  head/sys/mips/mips/elf_trampoline.c

Modified: head/sys/mips/mips/elf_trampoline.c
==============================================================================
--- head/sys/mips/mips/elf_trampoline.c	Wed Oct  9 00:21:21 2013	(r256170)
+++ head/sys/mips/mips/elf_trampoline.c	Wed Oct  9 00:22:21 2013	(r256171)
@@ -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


More information about the svn-src-head mailing list