drm: convert drm context code to use Linux idr
commit62968144e673016180f530fdfe170874b80ab5a7
authorDave Airlie <airlied@linux.ie>
Tue, 17 Jul 2007 00:46:52 +0000 (17 10:46 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 17 Jul 2007 01:04:33 +0000 (17 11:04 +1000)
tree36f763f7c03f12172bdd86d84d1c5071b3deee0f
parent7608a864e5211df1e3c1948e2719aec7c27b9333
drm: convert drm context code to use Linux idr

This converts the drm context allocator to an idr, using the new idr
interface features from Kristian.

Fixes from Kristian Hoegsberg <krh@redhat.com>

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_context.c