Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93497
b: refs/heads/master
c: b74e208
h: refs/heads/master
i:
  93495: 386e296
v: v3
  • Loading branch information
Dave Airlie committed Apr 26, 2008
1 parent cc4f2fe commit 05028f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac741ab71bb39e6977694ac0cc26678d8673cda4
refs/heads/master: b74e2082f8e7b8f37af3fc39e8ee0dd0d218c589
4 changes: 2 additions & 2 deletions trunk/drivers/char/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ int drm_release(struct inode *inode, struct file *filp)
if (drm_i_have_hw_lock(dev, file_priv)) {
dev->driver->reclaim_buffers_locked(dev, file_priv);
} else {
unsigned long _end=jiffies + 3*DRM_HZ;
unsigned long endtime = jiffies + 3 * DRM_HZ;
int locked = 0;

drm_idlelock_take(&dev->lock);
Expand All @@ -363,7 +363,7 @@ int drm_release(struct inode *inode, struct file *filp)
if (locked)
break;
schedule();
} while (!time_after_eq(jiffies, _end));
} while (!time_after_eq(jiffies, endtime));

if (!locked) {
DRM_ERROR("reclaim_buffers_locked() deadlock. Please rework this\n"
Expand Down

0 comments on commit 05028f4

Please sign in to comment.