headers: remove sched.h from interrupt.h
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 7 Oct 2009 13:09:06 +0000 (17:09 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Oct 2009 18:20:58 +0000 (11:20 -0700)
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>
145 files changed:
arch/arm/kernel/time.c
arch/arm/mach-integrator/pci_v3.c
arch/arm/plat-s3c24xx/adc.c
arch/blackfin/kernel/time.c
arch/m32r/kernel/smp.c
arch/um/drivers/line.c
arch/um/drivers/port_kern.c
arch/um/kernel/irq.c
arch/x86/kernel/cpu/mcheck/mce_intel.c
arch/x86/kernel/pci-gart_64.c
arch/x86/kernel/reboot.c
arch/xtensa/kernel/time.c
crypto/aead.c
drivers/char/applicom.c
drivers/char/epca.c
drivers/char/generic_serial.c
drivers/char/istallion.c
drivers/char/nozomi.c
drivers/char/pty.c
drivers/char/rio/riocmd.c
drivers/char/rio/rioctrl.c
drivers/char/rio/riotty.c
drivers/char/ser_a2232.c
drivers/char/stallion.c
drivers/char/tlclk.c
drivers/hwmon/sht15.c
drivers/ieee1394/raw1394.c
drivers/ieee1394/video1394.c
drivers/infiniband/core/iwcm.c
drivers/infiniband/core/ucma.c
drivers/infiniband/hw/cxgb3/iwch_provider.c
drivers/infiniband/hw/cxgb3/iwch_qp.c
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_iba7220.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_ruc.c
drivers/infiniband/hw/ipath/ipath_ud.c
drivers/infiniband/hw/ipath/ipath_user_pages.c
drivers/infiniband/hw/ipath/ipath_user_sdma.c
drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
drivers/input/keyboard/hilkbd.c
drivers/input/keyboard/sunkbd.c
drivers/input/serio/libps2.c
drivers/input/serio/serio_raw.c
drivers/input/serio/serport.c
drivers/isdn/capi/kcapi.c
drivers/isdn/hisax/arcofi.c
drivers/isdn/hisax/hfc_2bds0.c
drivers/isdn/hisax/hfc_pci.c
drivers/isdn/hysdn/hysdn_procconf.c
drivers/isdn/hysdn/hysdn_proclog.c
drivers/isdn/pcbit/drv.c
drivers/isdn/pcbit/layer2.c
drivers/isdn/sc/init.c
drivers/lguest/interrupts_and_traps.c
drivers/media/dvb/dvb-core/dvb_net.c
drivers/media/video/meye.c
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-dma-sg.c
drivers/message/fusion/mptlan.c
drivers/mfd/ucb1x00-core.c
drivers/misc/hpilo.c
drivers/misc/ibmasm/command.c
drivers/misc/ibmasm/event.c
drivers/misc/ibmasm/r_heartbeat.c
drivers/misc/phantom.c
drivers/mtd/devices/m25p80.c
drivers/mtd/devices/sst25l.c
drivers/net/bonding/bond_sysfs.c
drivers/net/depca.c
drivers/net/e100.c
drivers/net/eql.c
drivers/net/ethoc.c
drivers/net/ewrk3.c
drivers/net/forcedeth.c
drivers/net/hamachi.c
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/baycom_ser_fdx.c
drivers/net/hamradio/baycom_ser_hdx.c
drivers/net/hamradio/hdlcdrv.c
drivers/net/hp100.c
drivers/net/igb/igb_ethtool.c
drivers/net/irda/toim3232-sir.c
drivers/net/ns83820.c
drivers/net/pcnet32.c
drivers/net/sb1000.c
drivers/net/sis900.c
drivers/net/skfp/skfddi.c
drivers/net/skge.c
drivers/net/slip.c
drivers/net/sungem.c
drivers/net/tokenring/ibmtr.c
drivers/net/typhoon.c
drivers/net/wan/cosa.c
drivers/net/wan/cycx_x25.c
drivers/net/wan/dscc4.c
drivers/net/wan/farsync.c
drivers/net/wireless/b43/pio.c
drivers/net/wireless/b43legacy/main.c
drivers/net/wireless/b43legacy/phy.c
drivers/net/wireless/hostap/hostap_info.c
drivers/net/wireless/hostap/hostap_ioctl.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-hcmd.c
drivers/net/wireless/iwlwifi/iwl-tx.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwmc3200wifi/cfg80211.c
drivers/net/wireless/iwmc3200wifi/commands.c
drivers/net/wireless/iwmc3200wifi/main.c
drivers/net/wireless/iwmc3200wifi/rx.c
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/tx.c
drivers/net/wireless/prism54/isl_ioctl.c
drivers/net/wireless/prism54/islpci_dev.c
drivers/net/wireless/prism54/islpci_mgt.c
drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/pci/pcie/aer/aerdrv.c
drivers/rtc/interface.c
drivers/rtc/rtc-dev.c
drivers/uio/uio.c
drivers/uwb/whc-rc.c
fs/file.c
include/linux/interrupt.h
include/linux/mmc/host.h
kernel/irq/handle.c
kernel/mutex-debug.c
kernel/time/timekeeping.c
lib/debugobjects.c
lib/fault-inject.c
mm/vmalloc.c
net/irda/ircomm/ircomm_tty_attach.c
net/irda/irlan/irlan_common.c
net/irda/irlan/irlan_eth.c
net/irda/irnet/irnet_irda.c
net/irda/irnet/irnet_ppp.c
net/mac80211/rc80211_pid_debugfs.c
net/netfilter/nf_conntrack_core.c
net/sunrpc/xprtrdma/svc_rdma_transport.c
net/wireless/core.c

index 4cdc4a0bd02d6ebe94038e5f5fcd80da2b945324..d38cdf2c8276e6e23c769b9cf494dad5ff803d1f 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/interrupt.h>
 #include <linux/time.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/smp.h>
 #include <linux/timex.h>
 #include <linux/errno.h>
index 901cc205015e81a4149a4f56e87e056fe372951f..148d25fc636fbe2c7d91596d4c312272e6460015 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <mach/hardware.h>
 #include <asm/irq.h>
+#include <asm/signal.h>
 #include <asm/system.h>
 #include <asm/mach/pci.h>
 #include <asm/irq_regs.h>
index 11117a7ba911e735f911b6ba5dea75d8bf3d2f66..4d36b784fb8b2b00a5f5d03669afbee4bf525e0e 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
+#include <linux/sched.h>
 #include <linux/list.h>
 #include <linux/err.h>
 #include <linux/clk.h>
index e5069fe6861ee97a96a9481f0b3700def7cd7f40..bd3b53da295ef6745bbaf365a239617e1bc9b4d9 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/time.h>
 #include <linux/irq.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 
 #include <asm/blackfin.h>
 #include <asm/time.h>
index 1b7598e6f6e815fd2129146a9925cedac2495573..8a88f1f0a3e2d7faab1fd065491340f076ccd82d 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <linux/irq.h>
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
index 14a102e877d66e51a1e28a4f5a64ce23b509050a..cf8a97f3451856665b11fdb6172b67953d6ee513 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "linux/irqreturn.h"
 #include "linux/kd.h"
+#include "linux/sched.h"
 #include "chan_kern.h"
 #include "irq_kern.h"
 #include "irq_user.h"
index 19930081d3d8e93c42c7c0cf3d8be783ede5c304..4ebc8a34738f7d43a6020c8a05e604d8cad7d8e5 100644 (file)
@@ -7,6 +7,7 @@
 #include "linux/interrupt.h"
 #include "linux/list.h"
 #include "linux/mutex.h"
+#include "linux/workqueue.h"
 #include "asm/atomic.h"
 #include "init.h"
 #include "irq_kern.h"
index 454cdb43e351a93fbb6ea50db791f726a8fb2733..039270b9b73bf91f76b079f2bf756b97c8cd27e1 100644 (file)
@@ -10,6 +10,7 @@
 #include "linux/interrupt.h"
 #include "linux/kernel_stat.h"
 #include "linux/module.h"
+#include "linux/sched.h"
 #include "linux/seq_file.h"
 #include "as-layout.h"
 #include "kern_util.h"
index 889f665fe93d78322093505882e636feac5029ac..7c785634af2b495682565db7ecf86c2452d5edb5 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
+#include <linux/sched.h>
 #include <asm/apic.h>
 #include <asm/processor.h>
 #include <asm/msr.h>
index 98a827ee9ed7fc48d27b84dd16e43740cd77757f..a7f1b64f86e0476321c82dc44d3fe7dd20758927 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/agp_backend.h>
 #include <linux/init.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/spinlock.h>
 #include <linux/pci.h>
index 27349f92a6d79078bca5bce37cfcf23f490ab84a..a1a3cdda06e18e989827197e48b4fddbe7ef43dd 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/pm.h>
 #include <linux/efi.h>
 #include <linux/dmi.h>
+#include <linux/sched.h>
 #include <linux/tboot.h>
 #include <acpi/reboot.h>
 #include <asm/io.h>
index 19085ff0484a27df21142c14a3fcc5384b4497a6..19f7df30937f23c8ea774547a13adcb8d70af7be 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <linux/errno.h>
+#include <linux/sched.h>
 #include <linux/time.h>
 #include <linux/clocksource.h>
 #include <linux/interrupt.h>
index d9aa733db1647b51c1eea32de4840dc21cd9659d..0a55da70845e739426dd56a6c2ff704e43a70c0b 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/rtnetlink.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/seq_file.h>
 
index 73a0765344b63a4cde03de5cfbb1381a7b410a5d..fe2cb2f5db17281cd98eeb55a53867445cba0a00 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/miscdevice.h>
index 9d589e3144de8f0541ba1cd2399e3c49c18f30e5..dde5134713e23f88fe185e2f4216cd9ad62ebfac 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/serial.h>
 #include <linux/delay.h>
 #include <linux/ctype.h>
index 9e4e569dc00ddf80b51c541e8fbe48182de2cc42..d400cbd280f2fbb858102f0defb111a583979f3a 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/tty.h>
+#include <linux/sched.h>
 #include <linux/serial.h>
 #include <linux/mm.h>
 #include <linux/generic_serial.h>
index ab2f3349c5c4cc9dc13e3021307a3ede3ddf9a92..402838f4083e31091fe2480490c8a3ac0e42efa6 100644 (file)
@@ -19,6 +19,7 @@
 /*****************************************************************************/
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/smp_lock.h>
 #include <linux/interrupt.h>
index ec58d8c387ff2303f67db428622f68b7eff76057..d3400b20444f4f726b7de49e6ff88a5aa78cc938 100644 (file)
@@ -48,6 +48,7 @@
 #include <linux/tty.h>
 #include <linux/tty_driver.h>
 #include <linux/tty_flip.h>
+#include <linux/sched.h>
 #include <linux/serial.h>
 #include <linux/interrupt.h>
 #include <linux/kmod.h>
index e066c4fdf81be774e4be3317b8aa2e26a3f65d61..62f282e67638ccaa7863e2836b68645e90e77ae6 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/fcntl.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/major.h>
 #include <linux/mm.h>
index 01f2654d5a2ee514eebea3a32bce224a08c3b120..f121357e5af093ee270e9332ce6267df807ea724 100644 (file)
@@ -32,6 +32,7 @@
 */
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/tty.h>
index 74339559f0b9a3be4a768c5ef1f65d4cc8b3ca58..780506326a73672298a02ed532b8f8936313428e 100644 (file)
@@ -31,6 +31,7 @@
 */
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 2fb49e89b3241184eb1e236e2412f1663810b3d4..47fab7c3307302d3d0b553b61e8276a7e5be0824 100644 (file)
@@ -33,6 +33,7 @@
 #define __EXPLICIT_DEF_H__
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/tty.h>
index 33a2b531802ecd3fcf839bb2d5edae5406daa437..9610861d1f5f5b091a26a214050351785f1c47ba 100644 (file)
@@ -89,6 +89,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
+#include <linux/sched.h>
 #include <linux/tty.h>
 
 #include <asm/setup.h>
index 53e504f41b2043fa89b4b9a83637fe31251d38ab..db6dcfa35ba0dc44e183f33c5ded7b3a4f0e6051 100644 (file)
@@ -27,6 +27,7 @@
 /*****************************************************************************/
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/tty.h>
index 8f2284be68e192201a069886ff3d0a1209553955..80ea6bcfffdc4136c07a79483d4ad65d11556302 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/kernel.h>      /* printk() */
 #include <linux/fs.h>          /* everything... */
 #include <linux/errno.h>       /* error codes */
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
 #include <linux/interrupt.h>
index 303c02694c3ca0b8b07c49786b25c0c1701fe9b4..2da6fb2c325e47d83875139e407246cc855b9a9f 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/hwmon-sysfs.h>
 #include <linux/mutex.h>
 #include <linux/platform_device.h>
+#include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/jiffies.h>
 #include <linux/err.h>
index 0bc3d78ce7b1b8695d3eb25c2aefd216c0277265..8aa56ac07e2920d371a5af41eca7f09c8b752380 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <linux/kernel.h>
 #include <linux/list.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/fs.h>
index d287ba79821d0f93b70b598f9ff3be24bd7eb3b5..949064a05675cbb766cded13fc2bba78a680ad49 100644 (file)
@@ -30,6 +30,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/list.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/wait.h>
index 625fec5a741c0c50cf6c39b1cb83c002e61bf79d..0f89909abce98f1e68d36289cb47642126bf4e2e 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/idr.h>
 #include <linux/interrupt.h>
 #include <linux/rbtree.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/workqueue.h>
 #include <linux/completion.h>
index 4346a24568fb74746a74a12b2b1f534f23f1731f..bb96d3c4b0f4e06d3b8eeb6b8c685cddc4418eba 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/file.h>
 #include <linux/mutex.h>
 #include <linux/poll.h>
+#include <linux/sched.h>
 #include <linux/idr.h>
 #include <linux/in.h>
 #include <linux/in6.h>
index 03cfaecc3bb7f901ec0eb61e1345928ed7163f6a..ed7175549ebd18e0005f08b5877ff88a442a981b 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/list.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/ethtool.h>
 #include <linux/rtnetlink.h>
index 6e86534719414ff5e5e6c859dd4fd3cbf995cfa5..1cecf98829ac93293e608238a316ce7f9ef0662f 100644 (file)
@@ -29,6 +29,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
  */
+#include <linux/sched.h>
 #include "iwch_provider.h"
 #include "iwch.h"
 #include "iwch_cm.h"
index 04e88b600558caceaa0cedaf073b4ffeb7145ba5..013d1380e77c7bae05ab5b776c9cd0c331b06dd5 100644 (file)
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/idr.h>
 #include <linux/pci.h>
index b2a9d4c155d14fbe44006156ed76a8ea21d54592..a805402dd4aecf9d2bb60fc909baec8abce7704d 100644 (file)
@@ -37,6 +37,7 @@
 
 #include <linux/interrupt.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <rdma/ib_verbs.h>
index 6c21b4b5ec718b63f7ecef9d57093806cb1d9629..c0a03ac03ee7351618d9a3d72a0af29a7e58c21b 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <linux/pci.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 
 #include "ipath_kernel.h"
 #include "ipath_verbs.h"
index 3a5a89b609c4e99bc761e28193b24bd01600250c..cb2d3ef2ae12426a2ee3da2937118de3145c0c61 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/sched.h>
 #include <linux/vmalloc.h>
 
 #include "ipath_verbs.h"
index 2296832f94da868e3c2f884bfbcd2d9e94cc4fed..1f95bbaf7602289c79854a2919f966cce35e618a 100644 (file)
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 
 #include "ipath_verbs.h"
index 6076cb61bf6a62d43648cb8a126889913a47c505..7420715256a987246816f36dd4308f7cc5bfef9e 100644 (file)
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/sched.h>
 #include <rdma/ib_smi.h>
 
 #include "ipath_verbs.h"
index 855911e7396d8d246a8169cee757a2a499fba205..82878e3486279afc08df648a4c821c3cb3d199dd 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <linux/mm.h>
 #include <linux/device.h>
+#include <linux/sched.h>
 
 #include "ipath_kernel.h"
 
index 7bff4b9baa0a83ada20f29abceea8d90333f0026..be78f6643c066b3d0436f5708263a95aa7da07bb 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/types.h>
 #include <linux/device.h>
 #include <linux/dmapool.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/list.h>
 #include <linux/highmem.h>
index d73e3223287930c344784cea458e7eacf2b820ad..6923e1d986da49b95e9c8e39a3a8955f2a2ffac9 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <linux/rculist.h>
+#include <linux/sched.h>
 
 #include "ipath_verbs.h"
 
index e9d639ec283d2facb198234c96ff94c1579ab432..5f72440b50c809be4798b6dc11d718c523a6544c 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/interrupt.h>
 #include <linux/hil.h>
 #include <linux/io.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <asm/irq.h>
 #ifdef CONFIG_HP300
index 472b56639cdb2d1b08ab1a4ae078fd5c5016fc9f..a99a04b03ee49f3161d3f97ff6cecc8141b50ec9 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
index 769ba65a585a562a2f298df5f3e62403e316c721..f3876acc3e8394e4810fcf16a67773fe96cdc0e1 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/delay.h>
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/input.h>
index b03009bb74684a2edaf15f6d4f31f7a9904b31bb..27fdaaffbb40dae15963ddc5e788d9b33c149518 100644 (file)
@@ -9,6 +9,7 @@
  * the Free Software Foundation.
  */
 
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/smp_lock.h>
 #include <linux/poll.h>
index b9694b6445d00267142a14c04fe175405bcfd10f..6d345112bcb758c1ef5dda8c538659328af48759 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <asm/uaccess.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/init.h>
index 57d26360f64e38f13a09591a1fec08da76bfa115..dc506ab99cac03c1d9ca42a8053a5a0d5ff1cf2b 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/ioport.h>
 #include <linux/proc_fs.h>
+#include <linux/sched.h>
 #include <linux/seq_file.h>
 #include <linux/skbuff.h>
 #include <linux/workqueue.h>
index d30ce5b978c2ae3546ede8dedaa7e6339dc6c070..85a8fd8dd0b7c64f69688b926e9a30a0ecbff5cf 100644 (file)
@@ -10,6 +10,7 @@
  *
  */
  
+#include <linux/sched.h>
 #include "hisax.h"
 #include "isdnl1.h"
 #include "isac.h"
index 5c46a7130e064520def2c4f1160826bcf81c1147..8d22f50760eb2e52d6919c843b2729e7b670f190 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/sched.h>
 #include "hisax.h"
 #include "hfc_2bds0.h"
 #include "isdnl1.h"
index d110a77940a49a6885eda2a985ea6c2524519818..10914731b304986d740f53bc72f0dc98f38fe35c 100644 (file)
@@ -20,6 +20,7 @@
 #include "hfc_pci.h"
 #include "isdnl1.h"
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/interrupt.h>
 
 static const char *hfcpci_revision = "$Revision: 1.48.2.4 $";
index 8f9f4912de3243e4b118c09c4a346a006dc73981..90b35e1a4b7e6e85c9d8ea4374184d3c6c02f40c 100644 (file)
@@ -11,6 +11,7 @@
  *
  */
 
+#include <linux/cred.h>
 #include <linux/module.h>
 #include <linux/poll.h>
 #include <linux/proc_fs.h>
index 8991d2c8ee4a9d74b02e15c9f44246c06593eb63..8bcae28c4409ea0edbf40a65db309214463ec81c 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/module.h>
 #include <linux/poll.h>
 #include <linux/proc_fs.h>
+#include <linux/sched.h>
 #include <linux/smp_lock.h>
 
 #include "hysdn_defs.h"
index 8c66bcb953a1e97051b1fc23e7f7e43eb78f957b..123c1d6c43b45f82a3713c62e7d8f3357a64e947 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/kernel.h>
 
 #include <linux/types.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/mm.h>
 #include <linux/interrupt.h>
index e075e8d2fce044a445720e39f97c61b71870d5f7..30f0f45e3139293a68007236f1c12bb80156f56e 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
index dd0acd06750b2fd614e242e83e6df125cbfb7338..5a0774880d560640e669734ea689a1874ce4dd94 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include "includes.h"
 #include "hardware.h"
 #include "card.h"
index 18648180db02ed94beaa32f9aec8fbe12e90b1ad..daaf866316478dd262f344124f02c9891530dc7b 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/uaccess.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
+#include <linux/sched.h>
 #include "lg.h"
 
 /* Allow Guests to use a non-128 (ie. non-Linux) syscall trap. */
index 8c9ae0a3a272de8e724a583476979b80717d3fbf..0241a7c5c34a65ae53f28698936d06ae41df8c43 100644 (file)
@@ -63,6 +63,7 @@
 #include <asm/uaccess.h>
 #include <linux/crc32.h>
 #include <linux/mutex.h>
+#include <linux/sched.h>
 
 #include "dvb_demux.h"
 #include "dvb_net.h"
index 4b1bc05a462cefcc59020baa1cdaf6dbb8a1cbe7..01e1eefcf1eb8549b5d7d1725d1dae607bc26084 100644 (file)
@@ -28,6 +28,7 @@
  */
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/init.h>
 #include <linux/videodev.h>
 #include <media/v4l2-common.h>
index f1ccf98c0a6f071d287a066a2902c4783b3675fd..8e93c6f25c83ae4cab47bc715712b56ff5aa059a 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 
index 53cdd67cebe14e6407d352d7de27c7f109f4d66e..032ebae0134a7190a1c1c3e4e50054eaafee8523 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 
index bc2ec2182c0079c67367b90f667c9490eaf31029..34f3f36f819befac8ef345e24a3c85abe3e814c9 100644 (file)
@@ -56,6 +56,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/fs.h>
+#include <linux/sched.h>
 
 #define my_VERSION     MPT_LINUX_VERSION_COMMON
 #define MYNAM          "mptlan"
index fea9085fe52c67e089f38fbded9ae0fb1f83b389..60c3988f3cf3c4cecf0d9cc544b86521f9be3411 100644 (file)
@@ -18,6 +18,7 @@
  */
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/errno.h>
index 1ad27c6abccad303a8a9a0501398762db08aeb25..a92a3a742b439fdf2e6277929ccdd5ed3fff2dcf 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/device.h>
 #include <linux/file.h>
 #include <linux/cdev.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/delay.h>
 #include <linux/uaccess.h>
index 276d3fb68094a53d6815979688b89cd412e8b489..e2031739aa29fda4a188d4ac35101bc9f7439ee0 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include <linux/sched.h>
 #include "ibmasm.h"
 #include "lowlevel.h"
 
index 68a0a5b9479519c140456cafcbca5471c106b5a1..572d41ffc186a37fbd4d90dbea14554570681ecf 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include <linux/sched.h>
 #include "ibmasm.h"
 #include "lowlevel.h"
 
index bec9e2c44bef2655d2ed98eb6b6f70d8a143383c..2de487ac788c24e5e9c689a23ba1924c7e2aa80f 100644 (file)
@@ -20,6 +20,7 @@
  *
  */
 
+#include <linux/sched.h>
 #include "ibmasm.h"
 #include "dot_command.h"
 
index 90a95ce8dc344953365cc1ec3d5eafc58e02a490..04c27266f567548306e29df293deda919866d4e6 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/interrupt.h>
 #include <linux/cdev.h>
 #include <linux/phantom.h>
+#include <linux/sched.h>
 #include <linux/smp_lock.h>
 
 #include <asm/atomic.h>
index 379c316f329eb0d054718a12ed1c9111845d68db..4c19269de91a4ad8afb3383ea7f27d10e02325a5 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
 #include <linux/math64.h>
+#include <linux/sched.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
index c2baf3353f84d718135a72fdff1d8aa23c2efdfe..0a11721f146e0857947af8fddbdcd49b8f318d7c 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/device.h>
 #include <linux/mutex.h>
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
index ff449de6f3c00ab0eb394640cc56b07ce7e968dc..8762a27a2a185dd37d47db0263fcc019f471b1da 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/device.h>
+#include <linux/sched.h>
 #include <linux/sysdev.h>
 #include <linux/fs.h>
 #include <linux/types.h>
index 9686c1fa28f13b07a105e29f5607cb9b8ae68969..7a3bdac84abe9b89705f373da12761b957064285 100644 (file)
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
index 679965c2bb8600f42ba0c44fb99c68ea84472600..5d2f48f02251538f5d09cad83e69642182d5f631 100644 (file)
 #include <linux/moduleparam.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/init.h>
index d4d9a3eda69556f5b8ab5f11d39d8adeb9b036a4..f5b96cadeb2544994c4aadeeb45f30113c082116 100644 (file)
  * Sorry, I had to rewrite most of this for 2.5.x -DaveM
  */
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
index 34d0c69e67f7bb53593cbe32b422db8d6979286d..96f5b2a2d2c50f587efb98cd7ea07c1b6e769e78 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/mii.h>
 #include <linux/phy.h>
 #include <linux/platform_device.h>
+#include <linux/sched.h>
 #include <net/ethoc.h>
 
 static int buffer_size = 0x8000; /* 32 KBytes */
index b2a5ec8f372147b4c2dfb1624b12458b6d68d68b..dd4ba01fd92de390103ab8232d0e661d3dd98078 100644 (file)
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
index 0a1c2bb27d4d841dc889b908cf5c911039b1d526..e1da4666f20426ecf4e5e9848fae64975d2bf463 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/ethtool.h>
 #include <linux/timer.h>
index 1d5064a09acaf3de8ede90ac65bae51991774778..f7519a594945e831bee7fcc60fcbec24a3c9ca83 100644 (file)
@@ -145,6 +145,7 @@ static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
 /* Time in jiffies before concluding the transmitter is hung. */
 #define TX_TIMEOUT  (5*HZ)
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
index 7bcaf7c66243af20bc87c88d6fe0251492142d6e..e344c84c0ef9828efdfcf3b6b7ccf31895763758 100644 (file)
@@ -44,6 +44,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/workqueue.h>
 #include <linux/fs.h>
index aa4488e871b24d0497d3fcb92bf1954e01eab29d..ed60fd664273e4a089c3e39c2c4c7a91d1022803 100644 (file)
@@ -71,6 +71,7 @@
 
 /*****************************************************************************/
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/ioport.h>
 #include <linux/string.h>
index 88c59359602029440c00c947cb77f3351e23ef54..1686f6dcbbce849525968a57152009faa24e2b63 100644 (file)
@@ -61,6 +61,7 @@
 
 /*****************************************************************************/
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/ioport.h>
 #include <linux/string.h>
index 0013c409782cfc60e6fdd54e362347b097e27f41..91c5790c9581ded3ad1cdc790b99eb77913accc5 100644 (file)
@@ -42,6 +42,7 @@
 
 /*****************************************************************************/
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/net.h>
index a9a1a99f02dde3f841c2f0951c765e26c3c577c3..dd866513806274be18d79419e0d367fa07a26c8d 100644 (file)
@@ -98,6 +98,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
index d004c359244c9b03e2e5e753f5300abc15be8bc1..deaea8fa1032896ef8b0911523b5d1bfd167f307 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/interrupt.h>
 #include <linux/if_ether.h>
 #include <linux/ethtool.h>
+#include <linux/sched.h>
 
 #include "igb.h"
 
index fcf287b749db5a9e8885941cdd9d6bacfeb7b49a..99e1ec02a011108d7066f6e27fa4a49a3645c2ca 100644 (file)
 #include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 
 #include <net/irda/irda.h>
 
index c594e1946476f097386894c5aa484fef744e0ee6..57fd483dbb1f91f4b3e6440d9d30d2255ede4d57 100644 (file)
 #include <linux/compiler.h>
 #include <linux/prefetch.h>
 #include <linux/ethtool.h>
+#include <linux/sched.h>
 #include <linux/timer.h>
 #include <linux/if_vlan.h>
 #include <linux/rtnetlink.h>
index 6d28b18e7e28e6cd511cf7df86f9ac1986e04bc7..c1b3f09f452c5450bcc42c1983099293055077bd 100644 (file)
@@ -31,6 +31,7 @@ static const char *const version =
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
index ee366c5a8fa333b191eb2c6a6e251f950031ac24..c9c70ab0cce0c738989a1a6b32e6831af40ba2d7 100644 (file)
@@ -36,6 +36,7 @@ static char version[] = "sb1000.c:v1.1.2 6/01/98 (fventuri@mediaone.net)\n";
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/interrupt.h>
 #include <linux/errno.h>
index 97949d0a699b0c99bda67ba110bd70b605e4d6d0..c072f7f36acfd7d5cb02b727557ea0fe4ee1e562 100644 (file)
@@ -52,6 +52,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/errno.h>
index 38a508b4aad92a0835be81a17e4b9a714a7ecb09..b27156eaf26741757ccf1d10112cb61ebddba3ad 100644 (file)
@@ -73,6 +73,7 @@ static const char * const boot_msg =
 
 /* Include files */
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
index 01f6811f13249af0aabf7114f32d1f413fdee775..8f5414348e8629569a6fa12ff08f710d425abe6a 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/crc32.h>
 #include <linux/dma-mapping.h>
 #include <linux/debugfs.h>
+#include <linux/sched.h>
 #include <linux/seq_file.h>
 #include <linux/mii.h>
 #include <asm/irq.h>
index e17c535a577efeb9d1b6447243423590246263f0..fe3cebb984deb028b8a2e6ac1b1a2e2ac25717a5 100644 (file)
@@ -67,6 +67,7 @@
 #include <asm/system.h>
 #include <asm/uaccess.h>
 #include <linux/bitops.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/mm.h>
 #include <linux/interrupt.h>
index 305ec3d783dba30dd396b2fcfb6df9ce12913384..7019a0d1a82bd48dd9e15f2e5b213be928423f9e 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/interrupt.h>
 #include <linux/ioport.h>
 #include <linux/in.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/delay.h>
index 525bbc5b9c9d7aeacefbb632f1940d2830258b47..36cb2423bcf12d2690aab67ca2921b01edfb4fa1 100644 (file)
@@ -108,6 +108,7 @@ in the event that chatty debug messages are desired - jjs 12/30/98 */
 #define IBMTR_DEBUG_MESSAGES 0
 
 #include <linux/module.h>
+#include <linux/sched.h>
 
 #ifdef PCMCIA          /* required for ibmtr_cs.c to build */
 #undef MODULE          /* yes, really */
index d6d345229fe941cdc95d52dc5a3f7fcbfb1ad4e8..5921f5bdd764e57d72184142134cfdd588e40d9c 100644 (file)
@@ -108,6 +108,7 @@ static const int multicast_filter_limit = 32;
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/errno.h>
index 66360a2a14c2f174ac4fe4018fcd1d005f078287..e2c33c06190bb1fa0975b634b765de70d22ad71f 100644 (file)
@@ -76,6 +76,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/poll.h>
 #include <linux/fs.h>
index 2573c18b6aa531830b8a92645bb6438393503520..cd8cb95c5bd78920c648b2b47831bd9e086bb701 100644 (file)
@@ -84,6 +84,7 @@
 #include <linux/kernel.h>      /* printk(), and other useful stuff */
 #include <linux/module.h>
 #include <linux/string.h>      /* inline memset(), etc. */
+#include <linux/sched.h>
 #include <linux/slab.h>                /* kmalloc(), kfree() */
 #include <linux/stddef.h>      /* offsetof(), etc. */
 #include <linux/wanrouter.h>   /* WAN router definitions */
index 81c8aec9df929b5f97df8b6978c505e0d86719f2..07d00b4cf48a8e80e65fadcd451901c90462c865 100644 (file)
@@ -81,6 +81,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/list.h>
index 3e90eb816181b508ee2c4e151206a72eb4eafbe7..beda387f2fc79536c3907bd37bca533dd12b7d23 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/kernel.h>
 #include <linux/version.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/ioport.h>
 #include <linux/init.h>
 #include <linux/if.h>
index 9c1397996e0a57753e97f372bce2ad1296abcbb9..5e87650b07fb4c680cc322f5b4f687f2bc182f99 100644 (file)
@@ -30,6 +30,7 @@
 #include "xmit.h"
 
 #include <linux/delay.h>
+#include <linux/sched.h>
 
 
 static u16 generate_cookie(struct b43_pio_txqueue *q,
index 1d9223b3d4c47e53ca928d6fb8c2dd8273e1ded6..4b60148a5e61c9cc9b2f0eea64fe128d72d1ac55 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/firmware.h>
 #include <linux/wireless.h>
 #include <linux/workqueue.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/dma-mapping.h>
 #include <net/dst.h>
index 11319ec2d64a75d0788a3e6ea97357973b766da5..aaf227203a98f94dd93854bf936e95ec0c6841d1 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <linux/delay.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/types.h>
 
 #include "b43legacy.h"
index 6fa14a4e4b53e95c7f870049cf770ec79ac146b6..4dfb40a84c96ed9d54d83ef8b091bafabc28b215 100644 (file)
@@ -1,6 +1,7 @@
 /* Host AP driver Info Frame processing (part of hostap.o module) */
 
 #include <linux/if_arp.h>
+#include <linux/sched.h>
 #include "hostap_wlan.h"
 #include "hostap.h"
 #include "hostap_ap.h"
index 3f2bda881a4f1a40e68b00fc24045c583ae2c0a2..9419cebca8a582f8d9dab12bc442a67409ddebea 100644 (file)
@@ -1,6 +1,7 @@
 /* ioctl() (mostly Linux Wireless Extensions) routines for Host AP driver */
 
 #include <linux/types.h>
+#include <linux/sched.h>
 #include <linux/ethtool.h>
 #include <linux/if_arp.h>
 #include <net/lib80211.h>
index 8d58e6ed4e7d7208a2fc2e28a7d94829122006bc..827824d45de9bb1da433ad66be0dc225376270ef 100644 (file)
@@ -30,6 +30,7 @@
 
 ******************************************************************************/
 
+#include <linux/sched.h>
 #include "ipw2200.h"
 
 
index e70c5b0af364d35b796a6bad2447aaedfd82e4d5..68136172b82375a4219af33cc26ceee9c04682de 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/wireless.h>
index a22a0501c1901a1fa996f538e5f996fcceee378b..6f703a0418473272546f6a02aacae3821a6a248c 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/wireless.h>
index eb08f4411000cdd8f430de8b0342f97dd8627521..d6bc0e051043810805cede36913cf4977b8e1f4b 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/wireless.h>
index cdc07c477457b557a82288dd676eaeca6a4eee71..313d3e5ee84bfe7f26b03dd56fd693168e974c67 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/wireless.h>
index 484d5c1a7312053121ac09ac75d39b435492701a..2dc928755454b3e9906395bca20403359c06f7d1 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/etherdevice.h>
+#include <linux/sched.h>
 #include <net/mac80211.h>
 
 #include "iwl-eeprom.h"
index 532c8d6cd8daffedbd3816e4bc51592c9c92ce44..a6856daf14cb68072795517a20760ab0ae8bf9f3 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <net/mac80211.h>
 
 #include "iwl-dev.h" /* FIXME: remove */
index c18907544701c6a81a31857145a29b6bc05b9129..fb9bcfa6d9471e057bac4a2d7e98237c451c03e0 100644 (file)
@@ -28,6 +28,7 @@
  *****************************************************************************/
 
 #include <linux/etherdevice.h>
+#include <linux/sched.h>
 #include <net/mac80211.h>
 #include "iwl-eeprom.h"
 #include "iwl-dev.h"
index c390dbd877e4a59000571e2064e7eba4611bddbd..aa49230422f361ff9168227c92a8be1d4c05ebfb 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/wireless.h>
index a56a2b0ac99a64473582e792c310a74e1fa9d41c..f3c55658225bb97951a5ab9055030b84f9ed6389 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
+#include <linux/sched.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>
index 23b52fa2605ff93256e52565adf839bcd4069944..84158b6d35d818ae80701e74cc1c5411f909085a 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/wireless.h>
 #include <linux/etherdevice.h>
 #include <linux/ieee80211.h>
+#include <linux/sched.h>
 
 #include "iwm.h"
 #include "bus.h"
index d668e47563245dff549e2f89d6a43ab168e83a3b..222eb2cf1b30706b3f73c50f1aa91fe1fda39822 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
+#include <linux/sched.h>
 #include <linux/ieee80211.h>
 #include <linux/wireless.h>
 
index 40dbcbc16593b163e36cd7f3031cbb64187d904e..771a301003c9ff79b23bb855636c9990f8cc774e 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
+#include <linux/sched.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>
index 685098148e10e137a2cf14d47d491fc7a4973975..0a324dcd264cccf65821b41ee1dee4802aa6ab18 100644 (file)
@@ -6,6 +6,7 @@
 #include <net/iw_handler.h>
 #include <net/lib80211.h>
 #include <linux/kfifo.h>
+#include <linux/sched.h>
 #include "host.h"
 #include "hostcmd.h"
 #include "decl.h"
index 4c018f7a0a8d0ccc5adb690ca7d8ce6758f972c5..8c3766a6e8e7f9c7c948e7aab5a0af6c779ba33a 100644 (file)
@@ -3,6 +3,7 @@
   */
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
+#include <linux/sched.h>
 
 #include "hostcmd.h"
 #include "radiotap.h"
index 4c97c6ad6f5dea80cfee1869551e1ea32d50818d..bc08464d83232578cc8b57fdb1a681370eb2e016 100644 (file)
@@ -19,6 +19,7 @@
  *
  */
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/if_arp.h>
index e26d7b3ceab51cee23198ab5fc5c7fa60406ed59..2505be56ae39fd8c48c2f3ea562ec64453141841 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/netdevice.h>
 #include <linux/ethtool.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/etherdevice.h>
 #include <linux/delay.h>
 #include <linux/if_arp.h>
index f7c677e2094d168e53fe5ea890bdec5a6459b4b2..69d2f882fd065e18af75ac62ca88fec3e776ab39 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/netdevice.h>
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
index 7b3ee8c2eaef91bac4c9d959f69785d197c1ff35..68bc9bb1dbf9fdcdf57857a2f260afdca93f8086 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/poll.h>
+#include <linux/sched.h>
 #include <linux/uaccess.h>
 
 #include "rt2x00.h"
index 2ce8f9ccc66e33f27052c1a9e09c89de7d27eea7..d49ecc94bd49ea134fc8824c5070352cc9cd4202 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/pm.h>
index 4cdb31a362ca010e9d6c39aa7d332f683ed0f10a..a0c816238aa9bd0966c78a67262141fa25c2ab02 100644 (file)
@@ -12,6 +12,7 @@
 */
 
 #include <linux/rtc.h>
+#include <linux/sched.h>
 #include <linux/log2.h>
 
 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
index 8a11de9552cd06427e222f8eaba23409f3b49476..62227cd5241053e14171c7ad2ab4daf2089a5db2 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/module.h>
 #include <linux/rtc.h>
+#include <linux/sched.h>
 #include "rtc-core.h"
 
 static dev_t rtc_devt;
index a9d7070472021908aaa17d2e32828db50857ab3d..e941367dd28f8ab907350e83cedc7e1b1ac40a94 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/device.h>
 #include <linux/mm.h>
 #include <linux/idr.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/kobject.h>
 #include <linux/uio_driver.h>
index 1d9a6f54658ecf1383094edf3f98020d7247bccf..01950c62dc8dd4ca58e1e4e0700f5e9b51771dc7 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
index f313314f996fcaeb4457c04d64fd8eae25338423..87e129030ab1564a69061b82b9608c59cced9f1a 100644 (file)
--- a/fs/file.c
+++ b/fs/file.c
@@ -10,6 +10,7 @@
 #include <linux/fs.h>
 #include <linux/mm.h>
 #include <linux/time.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/file.h>
index b78cf8194957644b05908807839b0ed570802310..7ca72b74eec7e4142866f44debf96f594c70037f 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/irqreturn.h>
 #include <linux/irqnr.h>
 #include <linux/hardirq.h>
-#include <linux/sched.h>
 #include <linux/irqflags.h>
 #include <linux/smp.h>
 #include <linux/percpu.h>
@@ -610,6 +609,7 @@ extern void debug_poll_all_shared_irqs(void);
 static inline void debug_poll_all_shared_irqs(void) { }
 #endif
 
+struct seq_file;
 int show_interrupts(struct seq_file *p, void *v);
 
 struct irq_desc;
index 81bb42358595728f2c10b02077c4edb7cdf3a219..eaf36364b7d44ef778c1b8f346cc09481c6ae53f 100644 (file)
@@ -11,6 +11,7 @@
 #define LINUX_MMC_HOST_H
 
 #include <linux/leds.h>
+#include <linux/sched.h>
 
 #include <linux/mmc/core.h>
 
index a81cf80554dbf4da46c53cada05fc747f7c8eeff..17c71bb565c6ed287901aaef1c201a3c70f79aef 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <linux/irq.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/random.h>
index 50d022e5a5606dd64d985afbff9d33621f06ab96..ec815a960b5d526a29992dfd59e30ae21e35d9f3 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/delay.h>
 #include <linux/module.h>
 #include <linux/poison.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/kallsyms.h>
 #include <linux/interrupt.h>
index fb0f46fa1ecd0fc09b656e2759ff990372faacb3..c3a4e2907eaaf3ec25941d0cc69b04ac35b8dc40 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/percpu.h>
 #include <linux/init.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/sysdev.h>
 #include <linux/clocksource.h>
 #include <linux/jiffies.h>
index 2755a3bd16a1ca527b5bd01ccd2c9cabde05a77e..eae56fddfa3bd6517653e9387de92c4e56875044 100644 (file)
@@ -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>
index f97af55bdd969bfe0303903be7f561fd15a79a58..7e65af70635e4c6db2be536f7e387dedb1daf1d2 100644 (file)
@@ -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>
index 5e7aed0802bf933baaf9ea0441166ea406850495..0f551a4a44cddc7a042d47bbcd85c7126569ee69 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/highmem.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
index eafc010907c2d65c803b2285b8045a598fc00893..3c17540230227069e37bd4795ccbd6c6d0e2172b 100644 (file)
@@ -30,6 +30,7 @@
  ********************************************************************/
 
 #include <linux/init.h>
+#include <linux/sched.h>
 
 #include <net/irda/irda.h>
 #include <net/irda/irlmp.h>
index 62116829b817174fc7193289222ee820bbc83c1d..315ead3cb926beb93550b9a89f54b8e7497eb504 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/proc_fs.h>
+#include <linux/sched.h>
 #include <linux/seq_file.h>
 #include <linux/random.h>
 #include <linux/netdevice.h>
index 7b6b631f647fbd704add643b8cac365dc11bcb51..d340110f5c0cecaa877d796d57a4fccac1c36acb 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/inetdevice.h>
 #include <linux/if_arp.h>
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <net/arp.h>
 
 #include <net/irda/irda.h>
index cf9a4b531a98f5d73386cb7f8d2c7db3837239cf..cccc2e93234f3033765f5c71e0e13c8861765e8f 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include "irnet_irda.h"                /* Private header */
+#include <linux/sched.h>
 #include <linux/seq_file.h>
 #include <asm/unaligned.h>
 
index 68cbcb19cbd8a084dc0121997c2701f970c99aa1..7dea882dbb750649b10616f00dcb9bb68697ec64 100644 (file)
@@ -13,6 +13,7 @@
  *     2) as a control channel (write commands, read events)
  */
 
+#include <linux/sched.h>
 #include <linux/smp_lock.h>
 #include "irnet_ppp.h"         /* Private header */
 /* Please put other headers in irnet.h - Thanks */
index a59043fbb0ff267e703e1f5779d8ae45730032cc..45667054a5f305308a8bf1faff8b9def3b8b0749 100644 (file)
@@ -6,6 +6,7 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/poll.h>
 #include <linux/netdevice.h>
index 7c9ec3dee96e3d17687087d6baf0fd2e594ccfe2..ca6e68dcd8a8573e65dc26377fcf79e3445f3b7a 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/types.h>
 #include <linux/netfilter.h>
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/skbuff.h>
 #include <linux/proc_fs.h>
 #include <linux/vmalloc.h>
index 0cf5e8c27a105f399c02e94789227344f5d98934..3fa5751af0ecca4b03002d19a804f969b7011096 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/sunrpc/svc_xprt.h>
 #include <linux/sunrpc/debug.h>
 #include <linux/sunrpc/rpc_rdma.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <rdma/ib_verbs.h>
 #include <rdma/rdma_cm.h>
index 45b2be3274db868bbf4db4fc5050f1ea1b448dca..a595f712b5bf3edf09e3f97a6dd10c118e0341a3 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/device.h>
 #include <linux/etherdevice.h>
 #include <linux/rtnetlink.h>
+#include <linux/sched.h>
 #include <net/genetlink.h>
 #include <net/cfg80211.h>
 #include "nl80211.h"