]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_common_thread.c
eal: add multiprocess disable API
[dpdk.git] / lib / librte_eal / common / eal_common_thread.c
index 04c2b375285a11cd64f5c93667612250d0cf81d6..73a055902a5a07186b916baeacf40b27c58efd19 100644 (file)
@@ -261,7 +261,7 @@ rte_thread_register(void)
                rte_errno = EINVAL;
                return -1;
        }
-       if (!__rte_mp_disable()) {
+       if (!rte_mp_disable()) {
                RTE_LOG(ERR, EAL, "Multiprocess in use, registering non-EAL threads is not supported.\n");
                rte_errno = EINVAL;
                return -1;