diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-24 18:31:12 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-27 21:39:28 +0200 |
commit | 7f0dfc1625dbaa1360414206d420231b9828701a (patch) | |
tree | 1b8f10ce6ac0866d9a1a8701f7ef242cb5db9e31 /include/drm | |
parent | Linux 4.12-rc1 (diff) | |
download | linux-7f0dfc1625dbaa1360414206d420231b9828701a.tar.xz linux-7f0dfc1625dbaa1360414206d420231b9828701a.zip |
new helper: drm_ioctl_kernel()
drm_ioctl() guts sans copying the structure to/from userland
and parsing the ioctl cmd.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_ioctl.h b/include/drm/drm_ioctl.h index ee03b3c44b3b..add42809642a 100644 --- a/include/drm/drm_ioctl.h +++ b/include/drm/drm_ioctl.h @@ -172,6 +172,7 @@ struct drm_ioctl_desc { int drm_ioctl_permit(u32 flags, struct drm_file *file_priv); long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); +long drm_ioctl_kernel(struct file *, drm_ioctl_t, void *, u32); #ifdef CONFIG_COMPAT long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); #else |