Re: [dpdk-dev] [PATCH v8 1/6] bus/fslmc: fix the conflicting dmb function

2019-10-21 Thread David Marchand
On Mon, Oct 21, 2019 at 11:48 AM Gavin Hu wrote: > > There are two definitions conflicting each other, for more > details, refer to [1]. > > include/rte_atomic_64.h:19: error: "dmb" redefined [-Werror] > drivers/bus/fslmc/mc/fsl_mc_sys.h:36: note: this is the location of the > previous definition

[dpdk-dev] [PATCH v8 1/6] bus/fslmc: fix the conflicting dmb function

2019-10-21 Thread Gavin Hu
There are two definitions conflicting each other, for more details, refer to [1]. include/rte_atomic_64.h:19: error: "dmb" redefined [-Werror] drivers/bus/fslmc/mc/fsl_mc_sys.h:36: note: this is the location of the previous definition #define dmb() {__asm__ __volatile__("" : : : "memory"); } The