misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
Type: refactor
Change-Id: Id10cbf52e8f2dd809080a228d8fa282308be84ac
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vlib/counter.h b/src/vlib/counter.h
index 01aefd8..9f56542 100644
--- a/src/vlib/counter.h
+++ b/src/vlib/counter.h
@@ -254,7 +254,7 @@
* This CPU's index is assumed to already be in cache
*/
cpu_counters = cm->counters[thread_index];
- CLIB_PREFETCH (cpu_counters + index, CLIB_CACHE_LINE_BYTES, STORE);
+ clib_prefetch_store (cpu_counters + index);
}