diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 02:32:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 02:32:09 +0000 |
commit | 7f5ea64ad438953cbeb3055f424dfac01d5bcfc7 (patch) | |
tree | f8cabc30da0d0eaa578cb6369c816e02af148510 /drivers/char/drm | |
parent | 99e873a7003ab3980a6296c29066e3ab7956a009 (diff) |
Merge with Linux 2.4.0-test3.
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/tdfx_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/tdfx_drv.c b/drivers/char/drm/tdfx_drv.c index 7934c66b9..23c9c55bf 100644 --- a/drivers/char/drm/tdfx_drv.c +++ b/drivers/char/drm/tdfx_drv.c @@ -544,7 +544,7 @@ int tdfx_lock(struct inode *inode, struct file *filp, unsigned int cmd, if (lock.context != tdfx_res_ctx.handle) { current->counter = 5; - current->priority = DEF_PRIORITY/4; + current->nice = 0; } DRM_DEBUG("%d %s\n", lock.context, ret ? "interrupted" : "has lock"); @@ -589,7 +589,7 @@ int tdfx_unlock(struct inode *inode, struct file *filp, unsigned int cmd, if (lock.context != tdfx_res_ctx.handle) { current->counter = 5; - current->priority = DEF_PRIORITY; + current->nice = 0; } return 0; |