patch-2.2.8 linux/arch/sparc64/kernel/process.c
Next file: linux/arch/sparc64/kernel/smp.c
Previous file: linux/arch/sparc64/kernel/ioctl32.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue May 11 08:24:32 1999
- Orig file:
v2.2.7/linux/arch/sparc64/kernel/process.c
- Orig date:
Tue Mar 23 14:35:47 1999
diff -u --recursive --new-file v2.2.7/linux/arch/sparc64/kernel/process.c linux/arch/sparc64/kernel/process.c
@@ -1,4 +1,4 @@
-/* $Id: process.c,v 1.90 1999/03/22 02:12:16 davem Exp $
+/* $Id: process.c,v 1.92 1999/05/08 23:04:48 davem Exp $
* arch/sparc64/kernel/process.c
*
* Copyright (C) 1995, 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -54,6 +54,8 @@
/* endless idle loop with no priority at all */
current->priority = 0;
current->counter = -100;
+ init_idle();
+
for (;;) {
/* If current->need_resched is zero we should really
* setup for a system wakup event and execute a shutdown
@@ -79,6 +81,8 @@
{
current->priority = 0;
current->counter = -100;
+ init_idle();
+
while(1) {
if (current->need_resched != 0) {
unidle_me();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)