patch-2.3.1 linux/include/linux/sunrpc/sched.h

Next file: linux/include/linux/sunrpc/svc.h
Previous file: linux/include/linux/smb_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/include/linux/sunrpc/sched.h linux/include/linux/sunrpc/sched.h
@@ -12,6 +12,7 @@
 #include <linux/timer.h>
 #include <linux/tqueue.h>
 #include <linux/sunrpc/types.h>
+#include <linux/wait.h>
 
 /*
  * Define this if you want to test the fast scheduler for async calls.
@@ -63,7 +64,7 @@
 	 * you have a pathological interest in kernel oopses.
 	 */
 	struct timer_list	tk_timer;	/* kernel timer */
-	struct wait_queue *	tk_wait;	/* sync: sleep on this q */
+	wait_queue_head_t	tk_wait;	/* sync: sleep on this q */
 	unsigned long		tk_timeout;	/* timeout for rpc_sleep() */
 	unsigned short		tk_flags;	/* misc flags */
 #ifdef RPC_DEBUG

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)