summaryrefslogtreecommitdiff
path: root/mk/arch
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2014-11-19 12:26:06 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-11-27 16:21:11 +0100
commitfdf20fa7bee9df9037116318a87080e1eb7e757e (patch)
tree555c742ef267d7d6b1b60aeaad00f9f1407a62f2 /mk/arch
parentbe04c7072745e0471fc185c31c2a2df835ee4e06 (diff)
downloaddpdk-next-eventdev-fdf20fa7bee9df9037116318a87080e1eb7e757e.zip
dpdk-next-eventdev-fdf20fa7bee9df9037116318a87080e1eb7e757e.tar.gz
dpdk-next-eventdev-fdf20fa7bee9df9037116318a87080e1eb7e757e.tar.xz
add prefix to cache line macros
CACHE_LINE_SIZE is a macro defined in machine/param.h in FreeBSD and conflicts with DPDK macro version. Adding RTE_ prefix to avoid conflicts. CACHE_LINE_MASK and CACHE_LINE_ROUNDUP are also prefixed. Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> [Thomas: updated on HEAD, including PPC]
Diffstat (limited to 'mk/arch')
-rw-r--r--mk/arch/ppc_64/rte.vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/arch/ppc_64/rte.vars.mk b/mk/arch/ppc_64/rte.vars.mk
index dfdeaea..fdba019 100644
--- a/mk/arch/ppc_64/rte.vars.mk
+++ b/mk/arch/ppc_64/rte.vars.mk
@@ -32,7 +32,7 @@
ARCH ?= powerpc
CROSS ?=
-CPU_CFLAGS ?= -m64 -DCACHE_LINE_SIZE=128
+CPU_CFLAGS ?= -m64 -DRTE_CACHE_LINE_SIZE=128
CPU_LDFLAGS ?=
CPU_ASFLAGS ?= -felf64