mempool/octeontx: fix build with old gcc
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 13 Oct 2017 11:31:35 +0000 (17:01 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 13:28:09 +0000 (15:28 +0200)
commit50aa486c877a8d5482fde4b0dacd0fad40789864
tree40a1c474ce8c86873fad19f4aaeb6502423c9209
parent5f180ae32962f8b3d9a04a4c91f41e1484376793
mempool/octeontx: fix build with old gcc

Replaced _Static_assert compiler function with RTE_BUILD_BUG_ON()
to fix build issue with old gcc.

Fixes: 02fd6c744350 ("mempool/octeontx: support allocation")

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/mempool/octeontx/octeontx_fpavf.c
drivers/mempool/octeontx/octeontx_fpavf.h