xen: fix build with kernel 3.18
authorJincheng Miao <jmiao@redhat.com>
Wed, 10 Dec 2014 13:04:53 +0000 (21:04 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 11 Dec 2014 00:42:02 +0000 (01:42 +0100)
commit442f3bed6a0964e938c809e8811fa0636ef13f49
treec02bdf861ff84551ef190126ddefb9e1e33b306a
parentee19d51ae56dcb685d9a04d9e859873d35565232
xen: fix build with kernel 3.18

From upstream kernel commit 3db2e9cd, strict_strto* serial functions
are removed. So that we should directly used kstrtoul instead.

Add xen_dom0/compat.h to be compatible with older kernel.

Signed-off-by: Jincheng Miao <jmiao@redhat.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/xen_dom0/compat.h [new file with mode: 0644]
lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c