summaryrefslogtreecommitdiff
path: root/kernel/wait.c
diff options
context:
space:
mode:
authorWilliam Lee Irwin III <wli@holomorphy.com>2004-10-18 18:00:17 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 18:00:17 -0700
commit493267b6ec40026be65e3564fd24b879be3c06d1 (patch)
treebd97e65be150c6cc5788e527193a912f3bf68877 /kernel/wait.c
parent525b64cdbd0401b8d3cb5642159e5ec8e49290b7 (diff)
[PATCH] eliminate inode waitqueue hashtable
Eliminate the inode waitqueue hashtable using bit_waitqueue() via wait_on_bit() and wake_up_bit() to locate the waitqueue head associated with a bit. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/wait.c')
-rw-r--r--kernel/wait.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/wait.c b/kernel/wait.c
index e87ae721643c..4750562fd56e 100644
--- a/kernel/wait.c
+++ b/kernel/wait.c
@@ -7,6 +7,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/sched.h>
+#include <linux/mm.h>
#include <linux/wait.h>
#include <linux/hash.h>