patch-2.4.10 linux/include/linux/wait.h
Next file: linux/include/net/bluetooth/bluetooth.h
Previous file: linux/include/linux/vt_kern.h
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Sun Sep 23 10:31:02 2001
-  Orig file: 
v2.4.9/linux/include/linux/wait.h
-  Orig date: 
Tue Aug  7 12:48:43 2001
diff -u --recursive --new-file v2.4.9/linux/include/linux/wait.h linux/include/linux/wait.h
@@ -14,6 +14,7 @@
 #include <linux/list.h>
 #include <linux/stddef.h>
 #include <linux/spinlock.h>
+#include <linux/config.h>
 
 #include <asm/page.h>
 #include <asm/processor.h>
@@ -21,7 +22,11 @@
 /*
  * Debug control.  Slow but useful.
  */
+#if defined(CONFIG_DEBUG_WAITQ)
+#define WAITQUEUE_DEBUG 1
+#else
 #define WAITQUEUE_DEBUG 0
+#endif
 
 struct __wait_queue {
 	unsigned int flags;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)