vhost: remove references to vhost-cuse
[dpdk.git] / lib / librte_eal / linuxapp / xen_dom0 / dom0_mm_misc.c
index dfb271d..79630ba 100644 (file)
@@ -71,9 +71,9 @@
 #include <xen/xen-ops.h>
 #include <xen/interface/memory.h>
 
-#include <rte_config.h>
 #include <exec-env/rte_dom0_common.h>
 
+#include "compat.h"
 #include "dom0_mm_dev.h"
 
 MODULE_LICENSE("Dual BSD/GPL");
@@ -123,7 +123,7 @@ store_memsize(struct device *dev, struct device_attribute *attr,
        int err = 0;
        unsigned long mem_size;
 
-       if (0 != strict_strtoul(buf, 0, &mem_size))
+       if (0 != kstrtoul(buf, 0, &mem_size))
                return  -EINVAL;
 
        mutex_lock(&dom0_dev.data_lock);
@@ -462,7 +462,7 @@ dom0_memory_reserve(uint32_t rsv_size)
        }
 
        sort_viraddr(rsv_mm_info, num_block);
-       
+
        for (i = 0; i< num_block; i++) {
 
                /*