]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_memory.h
add FreeBSD support
[dpdk.git] / lib / librte_eal / common / include / rte_memory.h
index b44db0032a7524eab565b1cf2cc769f173e9574d..d2c62658b77eb76100fa7e93b4842e2e7ec5b0a6 100644 (file)
@@ -54,7 +54,9 @@ enum rte_page_sizes {
 };
 
 #define SOCKET_ID_ANY -1                    /**< Any NUMA socket. */
+#ifndef CACHE_LINE_SIZE
 #define CACHE_LINE_SIZE 64                  /**< Cache line size. */
+#endif
 #define CACHE_LINE_MASK (CACHE_LINE_SIZE-1) /**< Cache line mask. */
 
 #define CACHE_LINE_ROUNDUP(size) \