drm/i915: use linux/stddef.h due to "isystem: trim/fixup stdarg.h and other headers"
[linux-2.6-microblaze.git] / drivers / vhost / vhost.h
index b063324..638bb64 100644 (file)
@@ -20,20 +20,20 @@ typedef void (*vhost_work_fn_t)(struct vhost_work *work);
 
 #define VHOST_WORK_QUEUED 1
 struct vhost_work {
-       struct llist_node         node;
-       vhost_work_fn_t           fn;
-       unsigned long             flags;
+       struct llist_node       node;
+       vhost_work_fn_t         fn;
+       unsigned long           flags;
 };
 
 /* Poll a file (eventfd or socket) */
 /* Note: there's nothing vhost specific about this structure. */
 struct vhost_poll {
-       poll_table                table;
-       wait_queue_head_t        *wqh;
-       wait_queue_entry_t              wait;
-       struct vhost_work         work;
-       __poll_t                  mask;
-       struct vhost_dev         *dev;
+       poll_table              table;
+       wait_queue_head_t       *wqh;
+       wait_queue_entry_t      wait;
+       struct vhost_work       work;
+       __poll_t                mask;
+       struct vhost_dev        *dev;
 };
 
 void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn);
@@ -46,8 +46,7 @@ int vhost_poll_start(struct vhost_poll *poll, struct file *file);
 void vhost_poll_stop(struct vhost_poll *poll);
 void vhost_poll_flush(struct vhost_poll *poll);
 void vhost_poll_queue(struct vhost_poll *poll);
-void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work);
-long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp);
+void vhost_work_dev_flush(struct vhost_dev *dev);
 
 struct vhost_log {
        u64 addr;