Refactor common, boilerplate ioctl code from drm_addbufs_* functions into
authorDave Airlie <airlied@starflyer.(none)>
Sun, 10 Jul 2005 05:00:06 +0000 (15:00 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 10 Jul 2005 05:00:06 +0000 (15:00 +1000)
commitd59431bf96d1e8a3d6d240343f559f5e2ace7f1d
tree7d0d8f7d61b3870d661fcd514fb05b53d11153fe
parentb84397d6390ef04e8080d66bf528418ab5e75dc0
Refactor common, boilerplate ioctl code from drm_addbufs_* functions into
drm_addbufs. This makes the code more like the BSD code, and makes the
drm_addbufs_* functions callable in-kernel.

From: Ian Romanick <idr@us.ibm.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_bufs.c