[PATCH] wait: include linux/sched.h

From: Kaywinnit L. Frye
Date: Mon May 02 2011 - 17:34:51 EST


signal_pending(), schedule*() and TASK_* are used in various macros in
wait.h and all defined in linux/sched.h

Cc: Michal Nazarewicz <m.nazarewicz@xxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Evgeny Kuznetsov <EXT-Eugeny.Kuznetsov@xxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Kaywinnit L. Frye <kaywinnit.lee.frye.2497@xxxxxxxxx>
---
include/linux/wait.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/wait.h b/include/linux/wait.h
index 3efc9f3..667a3d7 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -22,6 +22,7 @@
#include <linux/list.h>
#include <linux/stddef.h>
#include <linux/spinlock.h>
+#include <linux/sched.h>
#include <asm/system.h>
#include <asm/current.h>

--
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/