[dpdk-dev] [PATCH 1/6] eal: add const in prefetch functions

2015-06-16 Thread Bruce Richardson
On Fri, Jun 05, 2015 at 03:33:19PM +0100, Pablo de Lara wrote: > 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 Acked-by: Bruce Richardson

[dpdk-dev] [PATCH 1/6] eal: add const in prefetch functions

2015-06-05 Thread Pablo de Lara
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 --- lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h | 6 +++--- lib/librte_eal/common/include/arch/x86/rte_prefetch.