summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/glue-include/linux/sched.h')
-rw-r--r--pfinet/glue-include/linux/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pfinet/glue-include/linux/sched.h b/pfinet/glue-include/linux/sched.h
index f57de2c3..d4cae42a 100644
--- a/pfinet/glue-include/linux/sched.h
+++ b/pfinet/glue-include/linux/sched.h
@@ -162,7 +162,8 @@ schedule_timeout (long timeout)
{
long expire = timeout + jiffies;
struct timer_list timer;
- struct wait_queue *sleep = 0; /* See comment in wait.h why this suffices. */
+ static struct wait_queue *sleep = 0; /* See comment in wait.h why this suffices. */
+ /* TODO: but free it !! */
init_timer (&timer);
timer.expires = expire;