eal: fix missing symbol in version map
authorCunming Liang <cunming.liang@intel.com>
Wed, 25 Feb 2015 03:39:48 +0000 (11:39 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Feb 2015 08:59:41 +0000 (09:59 +0100)
As per_lcore__socket_id and rte_sys_gettid are missing in version map,
it causes compiling error when CONFIG_RTE_BUILD_SHARED_LIB is enabled.

Fixes: ef76436c6834 ("eal: get unique thread id")
Fixes: 9e29251b2afa ("eal: thread affinity API")

Reported-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Tested-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/linuxapp/eal/rte_eal_version.map

index c207cee..17515a9 100644 (file)
@@ -10,6 +10,7 @@ DPDK_2.0 {
        pci_driver_list;
        per_lcore__lcore_id;
        per_lcore__rte_errno;
+       per_lcore__socket_id;
        rte_cpu_check_supported;
        rte_cpu_get_flag_enabled;
        rte_cycles_vmware_tsc_map;
@@ -83,6 +84,7 @@ DPDK_2.0 {
        rte_snprintf;
        rte_strerror;
        rte_strsplit;
+       rte_sys_gettid;
        rte_thread_get_affinity;
        rte_thread_set_affinity;
        rte_vlog;
index c207cee..17515a9 100644 (file)
@@ -10,6 +10,7 @@ DPDK_2.0 {
        pci_driver_list;
        per_lcore__lcore_id;
        per_lcore__rte_errno;
+       per_lcore__socket_id;
        rte_cpu_check_supported;
        rte_cpu_get_flag_enabled;
        rte_cycles_vmware_tsc_map;
@@ -83,6 +84,7 @@ DPDK_2.0 {
        rte_snprintf;
        rte_strerror;
        rte_strsplit;
+       rte_sys_gettid;
        rte_thread_get_affinity;
        rte_thread_set_affinity;
        rte_vlog;