igb_uio: fix build
authorJan Viktorin <viktorin@rehivetech.com>
Fri, 24 Jul 2015 17:11:44 +0000 (19:11 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 13:02:48 +0000 (15:02 +0200)
commitf76640a8498e85d60e25fbd9499cf69477fd8927
treed82450be549481a19d62799bed7a45ad94943511
parent4dfda7fb3cbab869a699b00e4681c5824acb1025
igb_uio: fix build

The missing header prevents to build with linux v3.18.

The problem is with kzalloc and kfree which are undefined in the igb_uio
driver.

HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm
RTE_TARGET=arm-armv7-a-linuxapp-gcc
CROSS=arm-none-linux-gnueabi-
lib/librte_eal/linuxapp/igb_uio/igb_uio.c:
error: implicit declaration of function 'kzalloc'
error: implicit declaration of function 'kfree'

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c