From: Bruce Richardson Date: Mon, 17 Feb 2014 20:04:44 +0000 (+0100) Subject: eal: fix typo for RTE_EAL_ALLOW_INV_SOCKET_ID X-Git-Tag: spdx-start~11043 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=88f93f9340e44f24698f56755f1436b798cb0db9;p=dpdk.git eal: fix typo for RTE_EAL_ALLOW_INV_SOCKET_ID Signed-off-by: Bruce Richardson Signed-off-by: David Marchand --- diff --git a/lib/librte_eal/linuxapp/eal/eal_lcore.c b/lib/librte_eal/linuxapp/eal/eal_lcore.c index fd53d744b5..5eed3ae83d 100644 --- a/lib/librte_eal/linuxapp/eal/eal_lcore.c +++ b/lib/librte_eal/linuxapp/eal/eal_lcore.c @@ -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 "