patch-2.4.0-test3 linux/drivers/char/drm/tdfx_drv.c

Next file: linux/drivers/char/dz.c
Previous file: linux/drivers/char/drm/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/char/drm/tdfx_drv.c linux/drivers/char/drm/tdfx_drv.c
@@ -544,7 +544,7 @@
 
 	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 @@
 	
 	if (lock.context != tdfx_res_ctx.handle) {
 		current->counter = 5;
-		current->priority = DEF_PRIORITY;
+		current->nice = 0;
 	}
 
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)