]> git.droids-corp.org - dpdk.git/blobdiff - examples/performance-thread/common/lthread.c
ring: create common structure for prod and cons metadata
[dpdk.git] / examples / performance-thread / common / lthread.c
index 8fbff737d1e5c23c509f2a0188d81de21b8a0d00..062275a439b11a209a1dce9c159d6a7dfe96a63d 100644 (file)
@@ -143,7 +143,7 @@ struct lthread_stack *_stack_alloc(void)
        struct lthread_stack *s;
 
        s = _lthread_objcache_alloc((THIS_SCHED)->stack_cache);
-       LTHREAD_ASSERT(s != NULL);
+       RTE_ASSERT(s != NULL);
 
        s->root_sched = THIS_SCHED;
        s->stack_size = LTHREAD_MAX_STACK_SIZE;