diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-10-07 13:09:06 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-11 18:20:58 (GMT) |
commit | d43c36dc6b357fa1806800f18aa30123c747a6d1 (patch) | |
tree | 339ce510073ecbe9b3592008f7dece7b277035ef /lib | |
parent | 69585dd69e663a40729492c7b52eb82477a2027a (diff) | |
download | linux-fsl-qoriq-d43c36dc6b357fa1806800f18aa30123c747a6d1.tar.xz |
headers: remove sched.h from interrupt.h
After m68k's task_thread_info() doesn't refer to current,
it's possible to remove sched.h from interrupt.h and not break m68k!
Many thanks to Heiko Carstens for allowing this.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debugobjects.c | 1 | ||||
-rw-r--r-- | lib/fault-inject.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 2755a3b..eae56fd 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -9,6 +9,7 @@ */ #include <linux/debugobjects.h> #include <linux/interrupt.h> +#include <linux/sched.h> #include <linux/seq_file.h> #include <linux/debugfs.h> #include <linux/hash.h> diff --git a/lib/fault-inject.c b/lib/fault-inject.c index f97af55b..7e65af7 100644 --- a/lib/fault-inject.c +++ b/lib/fault-inject.c @@ -1,6 +1,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/random.h> +#include <linux/sched.h> #include <linux/stat.h> #include <linux/types.h> #include <linux/fs.h> |