aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2016-01-04 19:02:07 +0000
committerZoltan Kiss <zoltan.kiss@linaro.org>2016-01-05 17:31:46 +0000
commit5c95b45a8fa481067a0ab3a47fb7df8b0861dcfc (patch)
tree19d065fb095f1755ae4ca9189d03a9cef3bdeac6 /platform/linux-dpdk
parent30c69e14b1d2af1f59b0b0350187711d91724645 (diff)
Port "a0b30a27 api: spinlock_recursive: added recursive spinlock"
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
Diffstat (limited to 'platform/linux-dpdk')
-rw-r--r--platform/linux-dpdk/Makefile.am3
l---------platform/linux-dpdk/include/odp/plat/spinlock_recursive_types.h1
l---------platform/linux-dpdk/include/odp/spinlock_recursive.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am
index 0e4a2c21d..7cd9610af 100644
--- a/platform/linux-dpdk/Makefile.am
+++ b/platform/linux-dpdk/Makefile.am
@@ -52,6 +52,7 @@ odpinclude_HEADERS = \
$(srcdir)/include/odp/schedule_types.h \
$(srcdir)/include/odp/shared_memory.h \
$(srcdir)/include/odp/spinlock.h \
+ $(srcdir)/include/odp/spinlock_recursive.h \
$(srcdir)/include/odp/std_types.h \
$(srcdir)/include/odp/sync.h \
$(srcdir)/include/odp/system_info.h \
@@ -80,6 +81,7 @@ odpplatinclude_HEADERS = \
$(srcdir)/include/odp/plat/schedule_types.h \
$(srcdir)/include/odp/plat/shared_memory_types.h \
$(srcdir)/include/odp/plat/spinlock_types.h \
+ $(srcdir)/include/odp/plat/spinlock_recursive_types.h \
$(srcdir)/include/odp/plat/strong_types.h \
$(srcdir)/include/odp/plat/thread_types.h \
$(srcdir)/include/odp/plat/thrmask_types.h \
@@ -133,6 +135,7 @@ __LIB__libodp_la_SOURCES = \
../linux-generic/odp_schedule.c \
../linux-generic/odp_shared_memory.c \
../linux-generic/odp_spinlock.c \
+ ../linux-generic/odp_spinlock_recursive.c \
../linux-generic/odp_system_info.c \
odp_thread.c \
../linux-generic/odp_thrmask.c \
diff --git a/platform/linux-dpdk/include/odp/plat/spinlock_recursive_types.h b/platform/linux-dpdk/include/odp/plat/spinlock_recursive_types.h
new file mode 120000
index 000000000..3ac04057e
--- /dev/null
+++ b/platform/linux-dpdk/include/odp/plat/spinlock_recursive_types.h
@@ -0,0 +1 @@
+../../../../linux-generic/include/odp/plat/spinlock_recursive_types.h \ No newline at end of file
diff --git a/platform/linux-dpdk/include/odp/spinlock_recursive.h b/platform/linux-dpdk/include/odp/spinlock_recursive.h
new file mode 120000
index 000000000..e27edc8ca
--- /dev/null
+++ b/platform/linux-dpdk/include/odp/spinlock_recursive.h
@@ -0,0 +1 @@
+../../../linux-generic/include/odp/spinlock_recursive.h \ No newline at end of file