Skip to contentSkip to conversation

Make wakeup functions public

PATCH In review Con Kolivas 1 participant 1 message Oct 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 13/28 Make wakeup functions public

Make wakeup functions public

Move the common wakeup stuff to scheduler.c

wait_for_completion is design dependant; privatise that.

include/linux/scheduler.h +1 -0
Index: linux-2.6.10-rc1-mm2-plugsched1/include/linux/scheduler.h
===================================================================
@@ -1,5 +1,6 @@
 struct sched_drv
 {
+	void (*wait_for_completion)(struct completion *);
 	void (*io_schedule)(void);
 	long (*io_schedule_timeout)(long);
 	void (*sched_idle_next)(void);
kernel/sched.c +2 -128

148 lines not on this page · raw message

kernel/scheduler.c +131 -0

140 lines not on this page · raw message