diff options
author | Eric Anholt <eric@anholt.net> | 2007-08-25 06:23:09 -0400 |
---|---|---|
committer | Dave Airlie <airlied@optimus.(none)> | 2007-10-14 20:38:20 -0400 |
commit | 6c340eac0285f3d62406d2d902d0e96fbf2a5dc0 (patch) | |
tree | a92039951cb7eaced306cfff2bad6af0ac5257ad /drivers/char/drm/drm_ioc32.c | |
parent | 20caafa6ecb2487d9b223aa33e7cc704f912a758 (diff) |
drm: Replace filp in ioctl arguments with drm_file *file_priv.
As a fallout, replace filp storage with file_priv storage for "unique
identifier of a client" all over the DRM. There is a 1:1 mapping, so this
should be a noop. This could be a minor performance improvement, as everyth
on Linux dereferenced filp to get file_priv anyway, while only the mmap ioct
went the other direction.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_ioc32.c')
-rw-r--r-- | drivers/char/drm/drm_ioc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_ioc32.c b/drivers/char/drm/drm_ioc32.c index 462f46f2049a..2286f3312c5c 100644 --- a/drivers/char/drm/drm_ioc32.c +++ b/drivers/char/drm/drm_ioc32.c | |||
@@ -1040,7 +1040,7 @@ drm_ioctl_compat_t *drm_compat_ioctls[] = { | |||
1040 | * Called whenever a 32-bit process running under a 64-bit kernel | 1040 | * Called whenever a 32-bit process running under a 64-bit kernel |
1041 | * performs an ioctl on /dev/drm. | 1041 | * performs an ioctl on /dev/drm. |
1042 | * | 1042 | * |
1043 | * \param filp file pointer. | 1043 | * \param file_priv DRM file private. |
1044 | * \param cmd command. | 1044 | * \param cmd command. |
1045 | * \param arg user argument. | 1045 | * \param arg user argument. |
1046 | * \return zero on success or negative number on failure. | 1046 | * \return zero on success or negative number on failure. |