numam-dpdk/lib/librte_eal
Ferruh Yigit d291fb3a8d kni: fix build with kernel 4.15
build error:
.../dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2809:2:
 error: implicit declaration of function ‘setup_timer’;
 did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration]
  setup_timer(&adapter->watchdog_timer, &igb_watchdog,
  ^~~~~~~~~~~
  sk_stop_timer
cc1: all warnings being treated as errors

error observed whed CONFIG_RTE_KNI_KMOD_ETHTOOL config option enabled.

Because Linux removed setup_timer macros for kernel version >= 4.15
Linux: 513ae785c63c ("timer: Remove setup_*timer() interface")

Replaced setup_timer with timer_setup for new kernel versions.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-12-15 15:05:42 +01:00
..
bsdapp bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
common version: 18.02-rc0 2017-11-23 23:33:52 +01:00
linuxapp kni: fix build with kernel 4.15 2017-12-15 15:05:42 +01:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_eal_version.map bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00