summaryrefslogtreecommitdiff
path: root/linux-core/drm_bo.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_bo.c')
-rw-r--r--linux-core/drm_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index ecf65c20..94a81559 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -2126,7 +2126,7 @@ void drm_bo_evict_mm(struct drm_device *dev, int mem_type, int no_wait)
drm_bo_usage_deref_unlocked(&entry);
mutex_lock(&dev->struct_mutex);
- } while(0);
+ } while(1);
mutex_unlock(&dev->struct_mutex);