patch-2.1.115 linux/arch/i386/kernel/process.c

Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/kernel/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -159,15 +159,8 @@
 		 		!hlt_counter && !current->need_resched)
 			__asm("hlt");
 		check_pgt_cache();
-		/*
-		 * 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 = 0;
 		schedule();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov