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"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to