mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
2ea659a9ef
commit
7f0dfc1625
2 changed files with 28 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue