aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-03 12:08:07 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-03 12:08:07 +0200
commitcee659afb56e7ac443402ac791144f391721061e (patch)
tree45d68bf6a269f626f6a2178c8c0b5987af5c96e7 /linux-core/drm_drv.c
parent16be6ba63a41f03e98a741464d3b51eefb277373 (diff)
Get rid of all ugly PTE hacks.
Diffstat (limited to 'linux-core/drm_drv.c')
-rw-r--r--linux-core/drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index ae0c37a5..4cbe035f 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -263,6 +263,7 @@ int drm_lastclose(drm_device_t * dev)
dev->lock.filp = NULL;
wake_up_interruptible(&dev->lock.lock_queue);
}
+ dev->dev_mapping = NULL;
mutex_unlock(&dev->struct_mutex);
if (drm_bo_clean_mm(dev)) {