eal: add multiprocess disable API
[dpdk.git] / lib / librte_eal / common / eal_common_thread.c
index 04c2b37..73a0559 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;