diff -ruN linux-2.2.15/include/linux/condsched.h linux-2.2.15-LL/include/linux/condsched.h --- linux-2.2.15/include/linux/condsched.h Wed Dec 31 19:00:00 1969 +++ linux-2.2.15-LL/include/linux/condsched.h Wed Mar 8 10:47:31 2000 @@ -0,0 +1,14 @@ +#ifndef _LINUX_CONDSCHED_H +#define _LINUX_CONDSCHED_H + +#ifndef __ASSEMBLY__ +#define conditional_schedule() \ +do { \ + if (current->need_resched) { \ + current->state = TASK_RUNNING; \ + schedule(); \ + } \ +} while(0) +#endif + +#endif