patch-1.3.13 linux/kernel/sched.c
Next file: linux/lib/string.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Jul 27 09:48:45 1995
- Orig file:
v1.3.12/linux/kernel/sched.c
- Orig date:
Tue Jul 25 18:21:23 1995
diff -u --recursive --new-file v1.3.12/linux/kernel/sched.c linux/kernel/sched.c
@@ -120,7 +120,11 @@
}
#endif
if (p == &init_task) {
- printk("idle task may not sleep\n");
+ static int nr = 0;
+ if (nr < 5) {
+ nr++;
+ printk("idle task may not sleep\n");
+ }
return;
}
nr_running--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this