eal/linux: fix build with hpet
authorYi Lu <luyi68@live.com>
Thu, 28 Jan 2016 14:16:40 +0000 (14:16 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 3 Mar 2016 10:36:32 +0000 (11:36 +0100)
commit3560681d68a16599e1b149799210b0de43c660aa
tree838fea0066090077efe05783579b6fd0dcd3b8ef
parent21e10f983ebcd90798ffd394ab28ed8f11f923ee
eal/linux: fix build with hpet

Fix compile error when enable CONFIG_RTE_LIBEAL_USE_HPET.

Error messages:
lib/librte_eal/linuxapp/eal/eal_timer.c: In function ‘rte_eal_hpet_init’:
lib/librte_eal/linuxapp/eal/eal_timer.c:222:2: error:
implicit declaration of function ‘rte_thread_setname’

Fixes: badb3688ffa8 ("eal/linux: fix build with glibc < 2.12")

Signed-off-by: Yi Lu <luyi68@live.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/linuxapp/eal/eal_timer.c