eal: fix MCS lock and ticketlock headers install
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 4 Nov 2020 17:03:33 +0000 (18:03 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 5 Nov 2020 11:08:19 +0000 (12:08 +0100)
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 <olivier.matz@6wind.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: David Christensen <drc@linux.vnet.ibm.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/librte_eal/arm/include/meson.build
lib/librte_eal/ppc/include/meson.build
lib/librte_eal/x86/include/meson.build

index c6a9f70..770766d 100644 (file)
@@ -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'))
index 0873b2a..dae40ed 100644 (file)
@@ -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'))
index 091fb64..549cc21 100644 (file)
@@ -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'))