summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2016-02-05 15:38:02 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-02-16 07:33:44 +0100
commit71e6e8c51906102ba1f7da0a75f29f9c26b651f0 (patch)
tree871d67b2f54edbbf2fb887557ba2540e9a2ed04f /examples/ethtool
parent28377375c6c08168d0e6d91e6ab15dd3646d5fcd (diff)
downloaddpdk-71e6e8c51906102ba1f7da0a75f29f9c26b651f0.zip
dpdk-71e6e8c51906102ba1f7da0a75f29f9c26b651f0.tar.gz
dpdk-71e6e8c51906102ba1f7da0a75f29f9c26b651f0.tar.xz
examples/ethtool: fix build
When building for ARM, the spinlock structure was not found. It appears to be a mismatch with rwlock which is not used in this file. Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application") Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Remy Horton <remy.horton@intel.com>
Diffstat (limited to 'examples/ethtool')
-rw-r--r--examples/ethtool/ethtool-app/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ethtool/ethtool-app/main.c b/examples/ethtool/ethtool-app/main.c
index e21abcd..2c655d8 100644
--- a/examples/ethtool/ethtool-app/main.c
+++ b/examples/ethtool/ethtool-app/main.c
@@ -36,7 +36,7 @@
#include <stdlib.h>
#include <rte_common.h>
-#include <rte_rwlock.h>
+#include <rte_spinlock.h>
#include <rte_eal.h>
#include <rte_ethdev.h>
#include <rte_ether.h>