eal: add const in prefetch functions
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 8 Jul 2015 09:51:33 +0000 (10:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jul 2015 10:12:59 +0000 (12:12 +0200)
commit7c5d0cc91579478c2399c12403fba9fbde50bf12
tree3c05928ca6abaccb7ad9d76e697f966402a1d108
parent2be3d6322b1dcd0ca7ea9b20e71e13c648b6aeb6
eal: add const in prefetch functions

rte_prefetchX functions included volatile void *p as parameter,
but the function does not modify it,
so it should include the const keyword.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h
lib/librte_eal/common/include/arch/x86/rte_prefetch.h
lib/librte_eal/common/include/generic/rte_prefetch.h