svn commit: r243587 - head/sys/contrib/octeon-sdk

Juli Mallett jmallett at FreeBSD.org
Tue Nov 27 02:03:42 UTC 2012


Author: jmallett
Date: Tue Nov 27 02:03:41 2012
New Revision: 243587
URL: http://svnweb.freebsd.org/changeset/base/243587

Log:
  Allow this file to build on FreeBSD.

Modified:
  head/sys/contrib/octeon-sdk/cvmx-dma-engine.c

Modified: head/sys/contrib/octeon-sdk/cvmx-dma-engine.c
==============================================================================
--- head/sys/contrib/octeon-sdk/cvmx-dma-engine.c	Tue Nov 27 01:59:51 2012	(r243586)
+++ head/sys/contrib/octeon-sdk/cvmx-dma-engine.c	Tue Nov 27 02:03:41 2012	(r243587)
@@ -65,8 +65,10 @@
 #include <asm/octeon/cvmx-pexp-defs.h>
 #include <asm/octeon/cvmx-helper-cfg.h>
 #else
+#if !defined(__FreeBSD__) || !defined(_KERNEL)
 #include "executive-config.h"
 #include "cvmx-config.h"
+#endif
 #include "cvmx.h"
 #include "cvmx-cmd-queue.h"
 #include "cvmx-dma-engine.h"


More information about the svn-src-all mailing list