eal: fix MCS lock header include
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 29 Jan 2021 16:48:15 +0000 (16:48 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 29 Jan 2021 19:59:09 +0000 (20:59 +0100)
commit3c2cca6a0da17c83716522084357731ab053172e
tree3d4499b24c4dc1f72a61285933eac703a0a05ad4
parent9a494a3b90aad48f5f3f4ced14104f3347723c1b
eal: fix MCS lock header include

Include 'rte_branch_prediction.h' to get the likely/unlikely macro
definitions.

Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
lib/librte_eal/include/generic/rte_mcslock.h