diff mbox series

[2.0,v3,2/5] linux-gen: modular-framework: move pool subsystem header to a public folder

Message ID 1511514013-20070-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [2.0,v3,1/5] linux-gen: modular-framework: move buffer subsystem header to a public folder | expand

Commit Message

Github ODP bot Nov. 24, 2017, 9 a.m. UTC
From: Bogdan Pricope <bogdan.pricope@linaro.org>


Move pool subsystem header to a public folder.

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: 7074b71b266de9c4eb5bf03513186a72ea27b2bc
 ** Merge commit sha: 5e845000d02f59bbefa810507ba526593a61c7a4
 **/
 include/Makefile.am                                                    | 3 ++-
 .../odp_pool_subsystem.h => include/subsystem/spec/pool_subsystem.h    | 0
 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 +-
 7 files changed, 5 insertions(+), 6 deletions(-)
 rename platform/linux-generic/include/odp_pool_subsystem.h => include/subsystem/spec/pool_subsystem.h (100%)
diff mbox series

Patch

diff --git a/include/Makefile.am b/include/Makefile.am
index 0edaf31a9..6bb497dc4 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -70,7 +70,8 @@  odpdrvspecinclude_HEADERS = \
 
 subsystemspecincludedir= $(includedir)/subsystem/spec
 subsystemspecinclude_HEADERS = \
-		  subsystem/spec/buffer_subsystem.h
+		  subsystem/spec/buffer_subsystem.h \
+		  subsystem/spec/pool_subsystem.h
 
 odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi
 odpapiabidefaultinclude_HEADERS = \
diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/include/subsystem/spec/pool_subsystem.h
similarity index 100%
rename from platform/linux-generic/include/odp_pool_subsystem.h
rename to include/subsystem/spec/pool_subsystem.h
diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am
index 67a46cb8a..f188c3770 100644
--- a/platform/linux-dpdk/Makefile.am
+++ b/platform/linux-dpdk/Makefile.am
@@ -209,7 +209,6 @@  noinst_HEADERS = \
 		  ${top_srcdir}/platform/linux-generic/include/odp_packet_io_pool_access.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..7d8fba14e 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 <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 ffc6daa90..745b86bab 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -191,7 +191,6 @@  noinst_HEADERS = \
 		  include/odp_pkt_queue_internal.h \
 		  include/odp_queue_subsystem.h \
 		  include/odp_pool_internal.h \
-		  include/odp_pool_subsystem.h \
 		  include/odp_posix_extensions.h \
 		  include/odp_queue_internal.h \
 		  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 5004e283c..adbdc4917 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 <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 c5f644912..c845ce16b 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 <subsystem/spec/pool_subsystem.h>
 #include <odp_debug_internal.h>
 #include <odp_module.h>