numam-dpdk/drivers/bus/fslmc
Gavin Hu 24ffb8c589 bus/fslmc: remove conflicting memory barrier macro
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 fix is to reuse the EAL definition to avoid conflicts.

[1] http://inbox.dpdk.org/users/VI1PR08MB537631AB25F41B8880DCCA988FDF0@
VI1PR08MB5376.eurprd08.prod.outlook.com/T/#u

Fixes: 3af733ba8d ("bus/fslmc: introduce MC object functions")
Cc: stable@dpdk.org

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2020-01-17 12:02:15 +01:00
..
mc bus/fslmc: remove conflicting memory barrier macro 2020-01-17 12:02:15 +01:00
portal drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
qbman drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
fslmc_bus.c bus/fslmc: sanitize device name parsing for clarity 2019-11-06 01:15:49 +01:00
fslmc_logs.h drivers: support function name in NXP logs 2018-07-12 14:41:28 +02:00
fslmc_vfio.c bus/fslmc: support multi VFIO group 2019-10-08 12:14:31 +02:00
fslmc_vfio.h bus/fslmc: support multi VFIO group 2019-10-08 12:14:31 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_bus_fslmc_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_fslmc.h drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00