virtgpu: pull in uaccess.h
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Apr 2020 00:30:11 +0000 (20:30 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Apr 2020 10:05:29 +0000 (06:05 -0400)
In preparation to virtio header changes, include uaccess.h directly as
this file is using copy to/from user.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_ioctl.c

index 336cc9143205de921c4307f076903530abe58e97..3f60bf2fe05aba4922717453a1bd674b18dfa4f3 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <linux/file.h>
 #include <linux/sync_file.h>
+#include <linux/uaccess.h>
 
 #include <drm/drm_file.h>
 #include <drm/virtgpu_drm.h>