DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] eal/linux: fix compilation error CONFIG_RTE_LIBEAL_USE_HPET
@ 2016-02-10 23:05 Vincent JARDIN
  2016-03-04 15:18 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent JARDIN @ 2016-02-10 23:05 UTC (permalink / raw)
  To: dev

When CONFIG_RTE_LIBEAL_USE_HPET=y is set, eal_timer.c does not compile
anymore. Just add simple missing include.

Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>
---
 lib/librte_eal/linuxapp/eal/eal_timer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_eal/linuxapp/eal/eal_timer.c b/lib/librte_eal/linuxapp/eal/eal_timer.c
index 6f95d8e..0115ee2 100644
--- a/lib/librte_eal/linuxapp/eal/eal_timer.c
+++ b/lib/librte_eal/linuxapp/eal/eal_timer.c
@@ -51,6 +51,7 @@
 #include <rte_memzone.h>
 #include <rte_eal.h>
 #include <rte_debug.h>
+#include <rte_lcore.h>
 
 #include "eal_private.h"
 #include "eal_internal_cfg.h"
-- 
2.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] eal/linux: fix compilation error CONFIG_RTE_LIBEAL_USE_HPET
  2016-02-10 23:05 [dpdk-dev] [PATCH] eal/linux: fix compilation error CONFIG_RTE_LIBEAL_USE_HPET Vincent JARDIN
@ 2016-03-04 15:18 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2016-03-04 15:18 UTC (permalink / raw)
  To: Vincent JARDIN; +Cc: dev

2016-02-11 00:05, Vincent JARDIN:
> When CONFIG_RTE_LIBEAL_USE_HPET=y is set, eal_timer.c does not compile
> anymore. Just add simple missing include.
> 
> Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>

It has been fixed in another patch:
	http://dpdk.org/browse/dpdk/commit/?id=3560681d68

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-04 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 23:05 [dpdk-dev] [PATCH] eal/linux: fix compilation error CONFIG_RTE_LIBEAL_USE_HPET Vincent JARDIN
2016-03-04 15:18 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).