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

Next file: linux/arch/arm/mm/init.c
Previous file: linux/arch/arm/kernel/dec21285.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/arm/kernel/process.c linux/arch/arm/kernel/process.c
@@ -71,8 +71,9 @@
 	current->priority = -100;
 	for (;;)
 	{
+		check_pgt_cache();
 #if 0 //def ARCH_IDLE_OK
-		if (!hlt_counter && !need_resched)
+		if (!hlt_counter && !current->need_resched)
 			proc_idle ();
 #endif
 		run_task_queue(&tq_scheduler);

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