aboutsummaryrefslogtreecommitdiff
path: root/hw/vhost.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-18 05:53:14 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-09-18 05:53:14 +0000
commitbf1b00712375bea65f2254dea8281fa646eebbd5 (patch)
tree049018dae367e40c1b21130ebc7427c381850e3f /hw/vhost.c
parentf562e716c962451af359e5a59ee9dbbd66b9fee8 (diff)
Introduce range.h
Extract range functions from pci.h. These will be used by later patches by non-PCI devices. Adjust current users. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/vhost.c')
-rw-r--r--hw/vhost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/vhost.c b/hw/vhost.c
index 34c4745d8c..1b8624d981 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -13,8 +13,7 @@
#include <sys/ioctl.h>
#include "vhost.h"
#include "hw/hw.h"
-/* For range_get_last */
-#include "pci.h"
+#include "range.h"
#include <linux/vhost.h>
static void vhost_dev_sync_region(struct vhost_dev *dev,