diff mbox series

[2.0,v1,3/6] linux-gen: modular-framework: make public pool subsystem header

Message ID 1509019205-3327-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [2.0,v1,1/6] linux-gen: modular-framework: make public modular framework headers | expand

Commit Message

Github ODP bot Oct. 26, 2017, noon UTC
From: Bogdan Pricope <bogdan.pricope@linaro.org>


Make public pool subsystem header.

Signed-off-by: Bogdan Pricope <bogdan.pricope@linaro.org>

---
/** Email created from pull request 261 (bogdanPricope:2_0_mf_include_pr)
 ** https://github.com/Linaro/odp/pull/261
 ** Patch: https://github.com/Linaro/odp/pull/261.patch
 ** Base sha: d37aa7f1c0480273fb0ccfded44a13e3e5a8e42f
 ** Merge commit sha: 4a263f664ff0e7916e1fe52f09afeed0db9a11dc
 **/
 .../odp/subsystem/spec/pool_subsystem.h                                | 0
 include/odp_mf.h                                                       | 1 +
 platform/Makefile.inc                                                  | 3 ++-
 platform/linux-dpdk/Makefile.am                                        | 1 -
 platform/linux-dpdk/include/odp_pool_internal.h                        | 2 +-
 platform/linux-generic/Makefile.am                                     | 1 -
 platform/linux-generic/include/odp_pool_internal.h                     | 2 +-
 platform/linux-generic/pool/subsystem.c                                | 2 +-
 8 files changed, 6 insertions(+), 6 deletions(-)
 rename platform/linux-generic/include/odp_pool_subsystem.h => include/odp/subsystem/spec/pool_subsystem.h (100%)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/include/odp/subsystem/spec/pool_subsystem.h
similarity index 100%
rename from platform/linux-generic/include/odp_pool_subsystem.h
rename to include/odp/subsystem/spec/pool_subsystem.h
diff --git a/include/odp_mf.h b/include/odp_mf.h
index 747c6dc4d..9b83e8680 100644
--- a/include/odp_mf.h
+++ b/include/odp_mf.h
@@ -20,6 +20,7 @@  extern C {
 
 #include <odp/mf/spec/module.h>
 #include <odp/subsystem/spec/buffer_subsystem.h>
+#include <odp/subsystem/spec/pool_subsystem.h>
 
 #ifdef __cplusplus
 }
diff --git a/platform/Makefile.inc b/platform/Makefile.inc
index 0d38d377e..bb928c83c 100644
--- a/platform/Makefile.inc
+++ b/platform/Makefile.inc
@@ -84,7 +84,8 @@  odpmfspecinclude_HEADERS = \
 
 odpsubsystemspecincludedir= $(includedir)/odp/subsytem/spec
 odpsubsystemspecinclude_HEADERS = \
-		  $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h
+		  $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h \
+		  $(top_srcdir)/include/odp/subsystem/spec/pool_subsystem.h
 
 odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi
 odpapiabidefaultinclude_HEADERS = \
diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am
index e1074cc23..cf3e822e9 100644
--- a/platform/linux-dpdk/Makefile.am
+++ b/platform/linux-dpdk/Makefile.am
@@ -203,7 +203,6 @@  noinst_HEADERS = \
 		  ${top_srcdir}/platform/linux-generic/include/odp_packet_io_ring_internal.h \
 		  ${top_srcdir}/platform/linux-generic/include/odp_pkt_queue_internal.h \
 		  ${srcdir}/include/odp_pool_internal.h \
-		  ${top_srcdir}/platform/linux-generic/include/odp_pool_subsystem.h \
 		  ${srcdir}/include/odp_posix_extensions.h \
 		  ${top_srcdir}/platform/linux-generic/include/odp_queue_internal.h \
 		  ${top_srcdir}/platform/linux-generic/include/odp_queue_if.h \
diff --git a/platform/linux-dpdk/include/odp_pool_internal.h b/platform/linux-dpdk/include/odp_pool_internal.h
index 2b3fc18c0..938843436 100644
--- a/platform/linux-dpdk/include/odp_pool_internal.h
+++ b/platform/linux-dpdk/include/odp_pool_internal.h
@@ -20,7 +20,7 @@  extern "C" {
 
 #include <odp/api/std_types.h>
 #include <odp/api/pool.h>
-#include <odp_pool_subsystem.h>
+#include <odp/subsystem/spec/pool_subsystem.h>
 #include <odp_buffer_internal.h>
 #include <odp/api/packet_io.h>
 #include <odp/api/align.h>
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 4acd9236f..a871afae2 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -187,7 +187,6 @@  noinst_HEADERS = \
 		  ${srcdir}/include/odp_pkt_queue_internal.h \
 		  ${srcdir}/include/odp_queue_subsystem.h \
 		  ${srcdir}/include/odp_pool_internal.h \
-		  ${srcdir}/include/odp_pool_subsystem.h \
 		  ${srcdir}/include/odp_posix_extensions.h \
 		  ${srcdir}/include/odp_queue_internal.h \
 		  ${srcdir}/include/odp_queue_scalable_internal.h \
diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h
index 35dd013e7..15b381935 100644
--- a/platform/linux-generic/include/odp_pool_internal.h
+++ b/platform/linux-generic/include/odp_pool_internal.h
@@ -21,7 +21,7 @@  extern "C" {
 #include <odp/api/shared_memory.h>
 #include <odp/api/ticketlock.h>
 
-#include <odp_pool_subsystem.h>
+#include <odp/subsystem/spec/pool_subsystem.h>
 #include <odp_buffer_internal.h>
 #include <odp_config_internal.h>
 #include <odp_ring_internal.h>
diff --git a/platform/linux-generic/pool/subsystem.c b/platform/linux-generic/pool/subsystem.c
index 073a9fa98..dca9284a7 100644
--- a/platform/linux-generic/pool/subsystem.c
+++ b/platform/linux-generic/pool/subsystem.c
@@ -7,7 +7,7 @@ 
  */
 #include <odp/api/pool.h>
 #include <odp_internal.h>
-#include <odp_pool_subsystem.h>
+#include <odp/subsystem/spec/pool_subsystem.h>
 #include <odp_debug_internal.h>
 
 #define SUBSYSTEM_VERSION 0x00010000UL