Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 02:03:42 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243587 - head/sys/contrib/octeon-sdk
Message-ID:  <201211270203.qAR23gBR042071@svn.freebsd.org>

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



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