lkml.org 
[lkml]   [2011]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] wait: include linux/sched.h
Date
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@samsung.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Evgeny Kuznetsov <EXT-Eugeny.Kuznetsov@nokia.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Kaywinnit L. Frye <kaywinnit.lee.frye.2497@gmail.com>
---
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


\
 
 \ /
  Last update: 2011-05-02 23:37    [W:0.053 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site