diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-13 12:12:52 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-13 12:12:52 +1000 |
commit | f276c845bde4c712aa383540a2dd2055ecc00031 (patch) | |
tree | b7b4847cd819cb356e4f13a74326655c7244e7f9 /linux-core/drm_proc.c | |
parent | 04257f1a5a28550dc430d8051bb58fd0ac34e77d (diff) |
drm: re-write minor number allocation to use an idr.
Fixup the minor number allocation scheme to use an idr and move the control
nodes up higher.
Diffstat (limited to 'linux-core/drm_proc.c')
-rw-r--r-- | linux-core/drm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 8f26726c..b28d8238 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -535,7 +535,7 @@ static int drm__clients_info(char *buf, char **start, off_t offset, list_for_each_entry(priv, &dev->filelist, lhead) { DRM_PROC_PRINT("%c %3d %5d %5d %10u %10lu\n", priv->authenticated ? 'y' : 'n', - priv->minor->minor, + priv->minor->index, priv->pid, priv->uid, priv->magic, priv->ioctl_count); } |