From 7f5ea64ad438953cbeb3055f424dfac01d5bcfc7 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 11 Jul 2000 02:32:09 +0000 Subject: Merge with Linux 2.4.0-test3. --- drivers/char/drm/tdfx_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/char/drm') 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; -- cgit v1.2.3