From 0316f93d51abc52b816e936e0ece304ac47799c3 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Wed, 16 Aug 2006 16:36:56 +0200 Subject: Remove hash tables on DRM exit. --- linux-core/drm_fops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-core/drm_fops.c') 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) -- cgit v1.2.3