]> git.droids-corp.org - dpdk.git/commitdiff
eal/x86: drop export of internal alignment macro
authorDavid Marchand <david.marchand@redhat.com>
Tue, 21 Jun 2022 14:13:25 +0000 (16:13 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 22 Jun 2022 09:32:35 +0000 (11:32 +0200)
ALIGNMENT_MASK is only used internally.
Besides it lacks a DPDK-related prefix.
Hide it from external eyes.

Fixes: f5472703c0bd ("eal: optimize aligned memcpy on x86")
Cc: stable@dpdk.org
Reported-by: Morten Brørup <mb@smartsharesystems.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/eal/x86/include/rte_memcpy.h

index 18aa4e43a74380781c86a135f268f75d8e55fa6f..b678b5c942e0aa07c2bf7362827c7b284f4c8eda 100644 (file)
@@ -851,6 +851,8 @@ rte_memcpy(void *dst, const void *src, size_t n)
                return rte_memcpy_generic(dst, src, n);
 }
 
+#undef ALIGNMENT_MASK
+
 #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)
 #pragma GCC diagnostic pop
 #endif