patch-2.1.77 linux/kernel/sched.c

Next file: linux/mm/page_alloc.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/kernel/sched.c linux/kernel/sched.c
@@ -104,6 +104,8 @@
 
 struct kernel_stat kstat = { 0 };
 
+void scheduling_functions_start_here(void) { }
+
 static inline void add_to_runqueue(struct task_struct * p)
 {
 	if (p->policy != SCHED_OTHER || p->counter > current->counter + 3)
@@ -677,6 +679,8 @@
 {
 	__sleep_on(p,TASK_UNINTERRUPTIBLE);
 }
+
+void scheduling_functions_end_here(void) { }
 
 static inline void cascade_timers(struct timer_vec *tv)
 {

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