OSDN Git Service

tools/virtio: 64 bit features
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Dec 2014 20:52:25 +0000 (22:52 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Dec 2014 21:49:20 +0000 (23:49 +0200)
Missed one place where vringh_test used
long to pass features. Fix it up to u64.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/vringh_test.c

index 13e0a76..51d922f 100644 (file)
@@ -132,7 +132,7 @@ static inline int vringh_get_head(struct vringh *vrh, u16 *head)
        return 1;
 }
 
-static int parallel_test(unsigned long features,
+static int parallel_test(u64 features,
                         bool (*getrange)(struct vringh *vrh,
                                          u64 addr, struct vringh_range *r),
                         bool fast_vringh)