headers: Fix build after <linux/sched.h> removal
authorIngo Molnar <mingo@elte.hu>
Mon, 12 Oct 2009 14:22:46 +0000 (16:22 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Oct 2009 17:20:16 +0000 (10:20 -0700)
Commit d43c36dc6b357fa1806800f18aa30123c747a6d1 ("headers: remove
sched.h from interrupt.h") left some build errors in some configurations
due to drivers having depended on getting header files "accidentally".

Signed-off-by: Ingo Molnar <mingo@elte.hu>
[ Combined several one-liners from Ingo into one single patch  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/genrtc.c
drivers/char/rtc.c
drivers/char/sonypi.c
drivers/net/wan/c101.c
drivers/net/wan/n2.c
drivers/net/wan/pci200syn.c
drivers/pci/hotplug/cpqphp.h

index aac0985a572b86811bae33317d7d4176e924d317..31e7c91c2d9d25679a63b2b792bfbbd534e6166a 100644 (file)
@@ -43,6 +43,7 @@
 #define RTC_VERSION    "1.07"
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/errno.h>
 #include <linux/miscdevice.h>
 #include <linux/fcntl.h>
index e0d0f8b2696b7360e39fcec6cfe25a874fe1a027..bc4ab3e54550fb25252424e17891b99126422707 100644 (file)
@@ -74,6 +74,7 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
+#include <linux/sched.h>
 #include <linux/sysctl.h>
 #include <linux/wait.h>
 #include <linux/bcd.h>
index fd3dced9777610c25b2d4f106eaca349a6a5de34..8c262aaf7c26e2edd5d414e06498871762773120 100644 (file)
@@ -36,6 +36,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/input.h>
 #include <linux/pci.h>
 #include <linux/init.h>
index 9693b0fd323dbb82c252ba53720ab971445af126..0bd898c947594fbdef1affaccbd86734f80aacc8 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/capability.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/string.h>
index 83da596e2052a84df3920cb2d681579e0caa9205..58c66819f39b161f6b7d4bde9e3fd400ea4e42b6 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/capability.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/fcntl.h>
index a52f29c72c33eeed101ea834607072267e60af95..f1340faaf022a248274ab502cdc7076e89087172 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/capability.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/fcntl.h>
index 53836001d511e3af1b3e77dc76d64785f8713bf8..9c6a9fd2681229911dd206882df207aeccb5b3d9 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/io.h>            /* for read? and write? functions */
 #include <linux/delay.h>       /* for delays */
 #include <linux/mutex.h>
+#include <linux/sched.h>       /* for signal_pending() */
 
 #define MY_NAME        "cpqphp"