X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fperformance-thread%2Fcommon%2Flthread_tls.c;h=6876f831b7fac12ad889fd026bf8aaed1df0757c;hb=609a0767d3dff75322029d201571ab1ddcfd74b5;hp=1c6cf11d5881e8935d5874f591eae9371e51c715;hpb=116819b9ed0da46ba09b927a9d54795e5f56cbdc;p=dpdk.git diff --git a/examples/performance-thread/common/lthread_tls.c b/examples/performance-thread/common/lthread_tls.c index 1c6cf11d58..6876f831b7 100644 --- a/examples/performance-thread/common/lthread_tls.c +++ b/examples/performance-thread/common/lthread_tls.c @@ -45,7 +45,6 @@ #include #include -#include #include #include #include @@ -95,7 +94,7 @@ void _lthread_key_pool_init(void) pool = rte_ring_create(name, LTHREAD_MAX_KEYS, 0, 0); - LTHREAD_ASSERT(pool); + RTE_ASSERT(pool); int i; @@ -241,7 +240,7 @@ void _lthread_tls_alloc(struct lthread *lt) tls = _lthread_objcache_alloc((THIS_SCHED)->tls_cache); - LTHREAD_ASSERT(tls != NULL); + RTE_ASSERT(tls != NULL); tls->root_sched = (THIS_SCHED); lt->tls = tls;