eal: fix typo for RTE_EAL_ALLOW_INV_SOCKET_ID
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 17 Feb 2014 20:04:44 +0000 (21:04 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Tue, 25 Feb 2014 20:29:18 +0000 (21:29 +0100)
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/linuxapp/eal/eal_lcore.c

index fd53d74..5eed3ae 100644 (file)
@@ -163,7 +163,7 @@ rte_eal_cpu_init(void)
                lcore_config[lcore_id].core_id = cpu_core_id(lcore_id);
                lcore_config[lcore_id].socket_id = cpu_socket_id(lcore_id);
                if (lcore_config[lcore_id].socket_id >= RTE_MAX_NUMA_NODES)
-#ifdef CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID
+#ifdef RTE_EAL_ALLOW_INV_SOCKET_ID
                        lcore_config[lcore_id].socket_id = 0;
 #else
                        rte_panic("Socket ID (%u) is greater than "