aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_fops.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-16 16:36:56 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-16 16:36:56 +0200
commit0316f93d51abc52b816e936e0ece304ac47799c3 (patch)
treedc3600bb142ea18fa783d25fc6025a085e78ed46 /linux-core/drm_fops.c
parent4daa024918d461ab8d173631fa5187dc50253b67 (diff)
Remove hash tables on DRM exit.
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r--linux-core/drm_fops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index a58f3ae8..691edff9 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -53,6 +53,8 @@ static int drm_setup(drm_device_t * dev)
return ret;
}
+ dev->magicfree.next = NULL;
+
/* prebuild the SAREA */
i = drm_addmap(dev, 0, SAREA_MAX, _DRM_SHM, _DRM_CONTAINS_LOCK, &map);
if (i != 0)