summaryrefslogtreecommitdiff
path: root/include/linux/wait.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:18:34 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:18:34 -0800
commit1d66e22e0f6b1cca563d240f90697b05860dca4d (patch)
tree9d8e32ccca080b5ca5a729f0ac472ee96a361ae9 /include/linux/wait.h
parent932f485f76f33b46e302fc390ee8e66529a2e5b4 (diff)
v2.4.9.8 -> v2.4.9.9
- Greg KH: start migration to new "min()/max()" - Roman Zippel: move affs over to "min()/max()". - Vojtech Pavlik: VIA update (make sure not to IRQ-unmask a vt82c576) - Jan Kara: quota bug-fix (don't decrement quota for non-counted inode) - Anton Altaparmakov: more NTFS updates - Al Viro: make nosuid/noexec/nodev be per-mount flags, not per-filesystem - Alan Cox: merge input/joystick layer differences, driver and alpha merge - Keith Owens: scsi Makefile cleanup - Trond Myklebust: fix oopsable race in locking code - Jean Tourrilhes: IrDA update
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r--include/linux/wait.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h
index 61cd98962bbe..52906444f233 100644
--- a/include/linux/wait.h
+++ b/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;