patch-2.1.115 linux/arch/alpha/kernel/process.c
Next file: linux/arch/alpha/kernel/setup.c
Previous file: linux/arch/alpha/kernel/osf_sys.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Tue Aug  4 22:55:15 1998
-  Orig file: 
v2.1.114/linux/arch/alpha/kernel/process.c
-  Orig date: 
Wed Jun 24 22:54:03 1998
diff -u --recursive --new-file v2.1.114/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -81,15 +81,7 @@
 
 	current->priority = -100;
 	while (1) {
-		/*
-		 * tq_scheduler currently assumes we're running in a process
-		 * context (ie that we hold the kernel lock..)
-		 */
-		if (tq_scheduler) {
-			lock_kernel();
-			run_task_queue(&tq_scheduler);
-			unlock_kernel();
-		}
+		run_task_queue(&tq_scheduler);
 		/* endless idle loop with no priority at all */
 		current->counter = -100;
 		if (!smp_commenced || resched_needed()) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov