summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_legacy.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-05-25 16:24:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-07-04 13:16:26 -0400
commit87d3ce1169d329bc4cab41996fccb68c06b5725b (patch)
tree82b96f0896b9572e66378444555e3acffaca54a7 /drivers/gpu/drm/drm_legacy.h
parent6113252dd0c70486f67e1e3c5cac643828d238d6 (diff)
downloadlinux-87d3ce1169d329bc4cab41996fccb68c06b5725b.tar.bz2
switch compat_drm_mapbufs() to drm_ioctl_kernel()
Another horror like addbufs; this one is even uglier. With that done, drm_ioc32.c should be sane. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_legacy.h')
-rw-r--r--drivers/gpu/drm/drm_legacy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h
index 702ae0c9379c..280fbeb846ff 100644
--- a/drivers/gpu/drm/drm_legacy.h
+++ b/drivers/gpu/drm/drm_legacy.h
@@ -76,6 +76,10 @@ int drm_legacy_dma_ioctl(struct drm_device *d, void *v, struct drm_file *f);
int __drm_legacy_infobufs(struct drm_device *, void *, int *,
int (*)(void *, int, struct drm_buf_entry *));
+int __drm_legacy_mapbufs(struct drm_device *, void *, int *,
+ void __user **,
+ int (*)(void *, int, unsigned long, struct drm_buf *),
+ struct drm_file *);
#ifdef CONFIG_DRM_VM
void drm_legacy_vma_flush(struct drm_device *d);