From f8e90bcc1d407a191435cffb1b6b5b0a8ff01c92 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Wed, 4 Nov 2020 18:03:33 +0100 Subject: [PATCH] eal: fix MCS lock and ticketlock headers install Add missing arch-specific headers in meson.build. Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation") Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch") Cc: stable@dpdk.org Signed-off-by: Olivier Matz Acked-by: David Marchand Acked-by: David Christensen Acked-by: Ruifeng Wang --- lib/librte_eal/arm/include/meson.build | 2 ++ lib/librte_eal/ppc/include/meson.build | 2 ++ lib/librte_eal/x86/include/meson.build | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/librte_eal/arm/include/meson.build b/lib/librte_eal/arm/include/meson.build index c6a9f70d73..770766de1a 100644 --- a/lib/librte_eal/arm/include/meson.build +++ b/lib/librte_eal/arm/include/meson.build @@ -14,6 +14,7 @@ arch_headers = files( 'rte_cycles.h', 'rte_io_64.h', 'rte_io.h', + 'rte_mcslock.h', 'rte_memcpy_32.h', 'rte_memcpy_64.h', 'rte_memcpy.h', @@ -26,6 +27,7 @@ arch_headers = files( 'rte_prefetch.h', 'rte_rwlock.h', 'rte_spinlock.h', + 'rte_ticketlock.h', 'rte_vect.h', ) install_headers(arch_headers, subdir: get_option('include_subdir_arch')) diff --git a/lib/librte_eal/ppc/include/meson.build b/lib/librte_eal/ppc/include/meson.build index 0873b2aecb..dae40ede54 100644 --- a/lib/librte_eal/ppc/include/meson.build +++ b/lib/librte_eal/ppc/include/meson.build @@ -8,12 +8,14 @@ arch_headers = files( 'rte_cpuflags.h', 'rte_cycles.h', 'rte_io.h', + 'rte_mcslock.h', 'rte_memcpy.h', 'rte_pause.h', 'rte_power_intrinsics.h', 'rte_prefetch.h', 'rte_rwlock.h', 'rte_spinlock.h', + 'rte_ticketlock.h', 'rte_vect.h', ) install_headers(arch_headers, subdir: get_option('include_subdir_arch')) diff --git a/lib/librte_eal/x86/include/meson.build b/lib/librte_eal/x86/include/meson.build index 091fb647dc..549cc21a42 100644 --- a/lib/librte_eal/x86/include/meson.build +++ b/lib/librte_eal/x86/include/meson.build @@ -11,6 +11,7 @@ arch_headers = files( 'rte_cpuflags.h', 'rte_cycles.h', 'rte_io.h', + 'rte_mcslock.h', 'rte_memcpy.h', 'rte_pause.h', 'rte_power_intrinsics.h', @@ -18,6 +19,7 @@ arch_headers = files( 'rte_rtm.h', 'rte_rwlock.h', 'rte_spinlock.h', + 'rte_ticketlock.h', 'rte_vect.h', ) install_headers(arch_headers, subdir: get_option('include_subdir_arch')) -- 2.20.1