X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Frelay.h;h=6cd8c4425fc7d5dfb400b37b436c960bf6e163d7;hb=febb187761b02fce7d61b9c897d0e701f672b5ee;hp=759a0f97bec23db4e26bddcfe124e095ced54b3a;hpb=e0cc09e295f346b7921e921f385fe5213472316a;p=linux-2.6 diff --git a/include/linux/relay.h b/include/linux/relay.h index 759a0f97be..6cd8c4425f 100644 --- a/include/linux/relay.h +++ b/include/linux/relay.h @@ -12,6 +12,7 @@ #include #include +#include #include #include #include @@ -38,7 +39,7 @@ struct rchan_buf size_t subbufs_consumed; /* count of sub-buffers consumed */ struct rchan *chan; /* associated channel */ wait_queue_head_t read_wait; /* reader wait queue */ - struct delayed_work wake_readers; /* reader wake-up work struct */ + struct timer_list timer; /* reader wake-up timer */ struct dentry *dentry; /* channel file dentry */ struct kref kref; /* channel buffer refcount */ struct page **page_array; /* array of current buffer pages */