Update of /cvsroot/linux-vax/kernel-2.5/include/linux
In directory sc8-pr-cvs1:/tmp/cvs-serv10652/include/linux
Modified Files:
sched.h
Log Message:
Temporarily add the non-SMP definition of wait_task_inactive(). This will
be added officially in 2.5.36.
Index: sched.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/linux/sched.h,v
retrieving revision 1.1.1.31
retrieving revision 1.2
diff -u -r1.1.1.31 -r1.2
--- sched.h 16 Feb 2003 00:38:00 -0000 1.1.1.31
+++ sched.h 16 Feb 2003 02:07:39 -0000 1.2
@@ -690,7 +690,11 @@
extern void FASTCALL(add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t * wait));
extern void FASTCALL(remove_wait_queue(wait_queue_head_t *q, wait_queue_t * wait));
+#ifdef CONFIG_SMP
extern void wait_task_inactive(task_t * p);
+#else
+#define wait_task_inactive(p) do { } while (0)
+#endif
extern void kick_if_running(task_t * p);
#define __wait_event(wq, condition) \
|