Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 00:22:21 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256171 - head/sys/mips/mips
Message-ID:  <201310090022.r990MLvh070318@svn.freebsd.org>

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



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