eal: move CPU operations to OS specific headers
authorPallavi Kadam <pallavi.kadam@intel.com>
Mon, 30 Sep 2019 17:09:34 +0000 (10:09 -0700)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 26 Oct 2019 15:06:41 +0000 (17:06 +0200)
commit7e708cd8c687aa99098833e50c6b23023b987a31
tree1dccd5f88baa5ad0265c4c5af0c51f648948251e
parent9b0a1dadc345805ca9d7428a977da080d5eee7e2
eal: move CPU operations to OS specific headers

Moving RTE_CPU* definitions from the common code to the Linux and
FreeBSD rte_os.h file to avoid #ifdef clutter.

Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Signed-off-by: Antara Ganesh Kolar <antara.ganesh.kolar@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/include/rte_lcore.h
lib/librte_eal/freebsd/eal/include/rte_os.h
lib/librte_eal/linux/eal/include/rte_os.h