linux-dpdk: fix visibility header include paths

Message ID 1490791490-11834-1-git-send-email-matias.elo@nokia.com
State New
Headers show

Commit Message

Elo, Matias (Nokia - FI/Espoo) March 29, 2017, 12:44 p.m.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
---
 platform/linux-dpdk/include/odp/api/plat/packet_inlines.h | 4 ++--
 platform/linux-dpdk/odp_std_clib.c                        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Bill Fischofer March 29, 2017, 5:40 p.m. | #1
On Wed, Mar 29, 2017 at 7:44 AM, Matias Elo <matias.elo@nokia.com> wrote:
> Signed-off-by: Matias Elo <matias.elo@nokia.com>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

> ---
>  platform/linux-dpdk/include/odp/api/plat/packet_inlines.h | 4 ++--
>  platform/linux-dpdk/odp_std_clib.c                        | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h b/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
> index 576464b..1772f05 100644
> --- a/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
> +++ b/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
> @@ -18,7 +18,7 @@ extern "C" {
>  #endif
>
>  #if ODP_ABI_COMPAT == 0
> -#include <odp/api/visibility_begin.h>
> +#include <odp/visibility_begin.h>
>  extern const unsigned int buf_addr_offset;
>  extern const unsigned int data_off_offset;
>  extern const unsigned int pkt_len_offset;
> @@ -28,7 +28,7 @@ extern const unsigned int udata_offset;
>  extern const unsigned int rss_offset;
>  extern const unsigned int ol_flags_offset;
>  extern const uint64_t rss_flag;
> -#include <odp/api/visibility_end.h>
> +#include <odp/visibility_end.h>
>
>  #endif /* ODP_ABI_COMPAT */
>  /*
> diff --git a/platform/linux-dpdk/odp_std_clib.c b/platform/linux-dpdk/odp_std_clib.c
> index 2a00cfe..3f52c3a 100644
> --- a/platform/linux-dpdk/odp_std_clib.c
> +++ b/platform/linux-dpdk/odp_std_clib.c
> @@ -13,7 +13,7 @@ extern "C" {
>  #include <odp/api/std_clib.h>
>
>  #if ODP_ABI_COMPAT == 0
> -#include <odp/api/visibility_begin.h>
> +#include <odp/visibility_begin.h>
>  #endif
>
>  #if defined(__arm__) || defined(__aarch64__)
> @@ -28,7 +28,7 @@ void* (*const dpdk_memcpy)(void*, const void*, size_t) = &rte_memcpy;
>  #endif
>
>  #if ODP_ABI_COMPAT == 0
> -#include <odp/api/visibility_end.h>
> +#include <odp/visibility_end.h>
>  #else
>  #include <odp/api/plat/std_clib_inlines.h>
>  #endif
> --
> 2.7.4
>
> _______________________________________________
> lng-odp-dpdk mailing list
> lng-odp-dpdk@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp-dpdk

Patch

diff --git a/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h b/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
index 576464b..1772f05 100644
--- a/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
+++ b/platform/linux-dpdk/include/odp/api/plat/packet_inlines.h
@@ -18,7 +18,7 @@  extern "C" {
 #endif
 
 #if ODP_ABI_COMPAT == 0
-#include <odp/api/visibility_begin.h>
+#include <odp/visibility_begin.h>
 extern const unsigned int buf_addr_offset;
 extern const unsigned int data_off_offset;
 extern const unsigned int pkt_len_offset;
@@ -28,7 +28,7 @@  extern const unsigned int udata_offset;
 extern const unsigned int rss_offset;
 extern const unsigned int ol_flags_offset;
 extern const uint64_t rss_flag;
-#include <odp/api/visibility_end.h>
+#include <odp/visibility_end.h>
 
 #endif /* ODP_ABI_COMPAT */
 /*
diff --git a/platform/linux-dpdk/odp_std_clib.c b/platform/linux-dpdk/odp_std_clib.c
index 2a00cfe..3f52c3a 100644
--- a/platform/linux-dpdk/odp_std_clib.c
+++ b/platform/linux-dpdk/odp_std_clib.c
@@ -13,7 +13,7 @@  extern "C" {
 #include <odp/api/std_clib.h>
 
 #if ODP_ABI_COMPAT == 0
-#include <odp/api/visibility_begin.h>
+#include <odp/visibility_begin.h>
 #endif
 
 #if defined(__arm__) || defined(__aarch64__)
@@ -28,7 +28,7 @@  void* (*const dpdk_memcpy)(void*, const void*, size_t) = &rte_memcpy;
 #endif
 
 #if ODP_ABI_COMPAT == 0
-#include <odp/api/visibility_end.h>
+#include <odp/visibility_end.h>
 #else
 #include <odp/api/plat/std_clib_inlines.h>
 #endif