drm: clean the map list before destroying the hash table
authorBen Skeggs <bskeggs@redhat.com>
Mon, 2 Mar 2009 01:13:04 +0000 (11:13 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Apr 2009 05:08:41 +0000 (15:08 +1000)
commit30ddbd94401a132f4d932775d1902b3c9a8c41b5
treef3876e98de6c9969057e99cbd30df1805a9f30ca
parent400138bc8b9fca66d7d40511eaed2dc3a75426c8
drm: clean the map list before destroying the hash table

The hash tables contains some of the mapping
so its really nice to have it for the deletion phase.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_stub.c