examples/distributor: fix build for non-x86 arch
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 12 Feb 2016 11:13:51 +0000 (16:43 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 16 Feb 2016 06:21:31 +0000 (07:21 +0100)
commit64502fab90ce1a3150c9db6e1c2c27201945e74d
tree09d261ad7c92fc5f73b0a7a654d9b3316706b913
parentab3af0959d5e0dc2135ac0ae2847cc5d6006473a
examples/distributor: fix build for non-x86 arch

_mm_prefetch is defined only in x86 compilers.
Use rte_prefetch_non_temporal() abstraction instead of _mm_prefetch(x, 0)
to in-order to build distributor application for non x86 platforms

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
examples/distributor/main.c