diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-11-27 02:03:41 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-11-27 02:03:41 +0000 |
commit | c60bc3766a0fc068cba3df0a3498d750ac0c2f2c (patch) | |
tree | 7427be5822e66f2627865ac3f0c8809fe16f6b95 /sys/contrib/octeon-sdk/cvmx-dma-engine.c | |
parent | 35a10ad41d9e9d87f04d74558cd7ae53cd6f023b (diff) | |
download | FreeBSD-src-c60bc3766a0fc068cba3df0a3498d750ac0c2f2c.zip FreeBSD-src-c60bc3766a0fc068cba3df0a3498d750ac0c2f2c.tar.gz |
Allow this file to build on FreeBSD.
Diffstat (limited to 'sys/contrib/octeon-sdk/cvmx-dma-engine.c')
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-dma-engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-dma-engine.c b/sys/contrib/octeon-sdk/cvmx-dma-engine.c index 053c372..d17f60c 100644 --- a/sys/contrib/octeon-sdk/cvmx-dma-engine.c +++ b/sys/contrib/octeon-sdk/cvmx-dma-engine.c @@ -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" |