patch-2.1.111 linux/arch/i386/kernel/process.c
Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Jul 22 14:45:23 1998
- Orig file:
v2.1.110/linux/arch/i386/kernel/process.c
- Orig date:
Tue Jul 21 00:15:30 1998
diff -u --recursive --new-file v2.1.110/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -115,8 +115,8 @@
if (current->pid != 0)
goto out;
/* endless idle loop with no priority at all */
- current->priority = -100;
- current->counter = -100;
+ current->priority = 0;
+ current->counter = 0;
for (;;) {
/*
* We are locked at this point. So we can safely call
@@ -152,7 +152,7 @@
int cpu_idle(void *unused)
{
- current->priority = -100;
+ current->priority = 0;
while(1)
{
if(current_cpu_data.hlt_works_ok &&
@@ -169,7 +169,7 @@
unlock_kernel();
}
/* endless idle loop with no priority at all */
- current->counter = -100;
+ current->counter = 0;
schedule();
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov