summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2006-01-25 09:44:24 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2006-01-25 09:44:24 +0000
commitdd984cdf2db7659960fd16b26684483056c6841d (patch)
tree782fed57925df423c01494d1162b7ac29e858f46
parent2abc80c7db7879b689acfbc1a94961cf4b35c2a4 (diff)
ttm: Possible deadlock fix
-rw-r--r--linux-core/drm_ttm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index b39c9ce9..8977025d 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -395,6 +395,7 @@ int drm_bind_ttm_region(drm_ttm_t * ttm, unsigned long page_offset,
if (page_address(*cur_page) != NULL
&& PageHighMem(*cur_page)) {
DRM_ERROR("Illegal mapped HighMem Page\n");
+ spin_unlock(&current->mm->page_table_lock);
drm_unbind_ttm_region(entry);
return -EINVAL;
}