bus/dpaa: fix 64-bit arch detection
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 5 Nov 2020 21:17:13 +0000 (22:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Mar 2021 07:41:05 +0000 (08:41 +0100)
commita4ab65e75beecbebafdca91aa6aac1f091b4460c
tree0a70f420aebc255b477ca7f4516703db196c3e1d
parent69cb391787271e68dd6d1c067db32305e471553f
bus/dpaa: fix 64-bit arch detection

There is no standard saying that __WORDSIZE should be defined or in
what include it should be defined. Use RTE_ARCH_64 instead.

This solves a warning when building with musl libc:

 warning: "__WORDSIZE" is not defined, evaluates to 0 [-Wundef]

Fixes: 847ee3bd0d1f ("bus/dpaa: support FMAN frame queue lookup")
Cc: stable@dpdk.org
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
drivers/bus/dpaa/include/fsl_qman.h