misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
[vpp.git] / src / plugins / nsim / nsim_input.c
index 1976d05..65a7ae1 100644 (file)
@@ -94,7 +94,7 @@ nsim_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
     {
       /* prefetch one line / 2 entries ahead */
       if ((((uword) ep) & (CLIB_CACHE_LINE_BYTES - 1)) == 0)
-       CLIB_PREFETCH ((ep + 2), CLIB_CACHE_LINE_BYTES, LOAD);
+       clib_prefetch_load ((ep + 2));
 
       ep = wp->entries + wp->head;
       from[0] = ep->buffer_index;