power: fix traffic aware build
authorDavid Hunt <david.hunt@intel.com>
Fri, 26 Oct 2018 12:38:24 +0000 (13:38 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 12:51:36 +0000 (14:51 +0200)
commit31259a337613c7492af9c2eda6040fb0eb705abb
tree56b0185cb5848a1c7b8de91f2982771c6056f4c8
parent1f8494f00275d76dc3e0019866b88c356e31cbf3
power: fix traffic aware build

1. %ld to PRId64 for 32-bit builds
2. Fix dependency on librte_timer

Fixes: 450f0791312c ("power: add traffic pattern aware power control")

Signed-off-by: David Hunt <david.hunt@intel.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/Makefile
lib/librte_power/rte_power_empty_poll.c