kernel-ark/drivers/scsi
Alexey Dobriyan e8edc6e03a Detach sched.h from mm.h
First thing mm.h does is including sched.h solely for can_do_mlock() inline
function which has "current" dereference inside. By dealing with can_do_mlock()
mm.h can be detached from sched.h which is good. See below, why.

This patch
a) removes unconditional inclusion of sched.h from mm.h
b) makes can_do_mlock() normal function in mm/mlock.c
c) exports can_do_mlock() to not break compilation
d) adds sched.h inclusions back to files that were getting it indirectly.
e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
   getting them indirectly

Net result is:
a) mm.h users would get less code to open, read, preprocess, parse, ... if
   they don't need sched.h
b) sched.h stops being dependency for significant number of files:
   on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
   after patch it's only 3744 (-8.3%).

Cross-compile tested on

	all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
	alpha alpha-up
	arm
	i386 i386-up i386-defconfig i386-allnoconfig
	ia64 ia64-up
	m68k
	mips
	parisc parisc-up
	powerpc powerpc-up
	s390 s390-up
	sparc sparc-up
	sparc64 sparc64-up
	um-x86_64
	x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig

as well as my two usual configs.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-21 09:18:19 -07:00
..
aacraid [SCSI] aacraid: superfluous adapter reset for IBM 8 series ServeRAID controllers 2007-05-06 09:48:21 -05:00
aic7xxx Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
aic7xxx_old
aic94xx Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
arcmsr PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
arm [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
dpt [SCSI] dpt: whitespace cleanup 2007-04-01 10:10:04 -05:00
ibmvscsi Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
libsas [SCSI] sas_scsi_host: Convert to use the kthread API 2007-05-06 09:33:17 -05:00
lpfc [SCSI] lpfc 8.1.12 : Change version number to 8.1.12 2007-05-06 09:33:16 -05:00
megaraid Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
pcmcia [SCSI] pcmcia: allow drivers to be built non-modular 2007-04-01 10:07:14 -05:00
qla2xxx Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-05-08 20:32:43 -07:00
qla4xxx [SCSI] qla4xxx: possible cleanups 2007-05-06 09:33:16 -05:00
sym53c8xx_2
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-xxxx.c [SCSI] 3w-xxxx: fix oops caused by incorrect REQUEST_SENSE handling 2007-04-14 08:49:03 -05:00
3w-xxxx.h
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
advansys.c
advansys.h
aha152x.c
aha152x.h
aha1542.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
aha1542.h
aha1740.c
aha1740.h
aic7xxx_old.c
amiga7xx.c
amiga7xx.h
atari_dma_emul.c
atari_NCR5380.c m68k: Atari SCSI workqueue updates 2007-05-04 17:59:06 -07:00
atari_scsi.c m68k: Atari SCSI driver compile fixes 2007-05-04 17:59:05 -07:00
atari_scsi.h m68k: Atari SCSI driver compile fixes 2007-05-04 17:59:05 -07:00
atp870u.c
atp870u.h
blz1230.c
blz2060.c
BusLogic.c [SCSI] BusLogic: stop using check_region 2007-04-17 18:04:20 -04:00
BusLogic.h
bvme6000.c
bvme6000.h
ch.c [SCSI] ch: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
constants.c
cyberstorm.c
cyberstormII.c
dc395x.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
dc395x.h
dec_esp.c
dmx3191d.c
dpt_i2o.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-08 20:32:16 -07:00
dpti.h
dtc.c
dtc.h
eata_generic.h [SCSI] eata_pio: Remove FALSE/TRUE defines 2007-03-20 11:27:03 -05:00
eata_pio.c
eata_pio.h
eata.c
esp_scsi.c [SCSI] esp_scsi: Fix section mismatch warnings. 2007-05-07 14:05:03 -07:00
esp_scsi.h [SCSI] SUNESP: Complete driver rewrite to version 2.0 2007-04-27 00:26:46 -07:00
fastlane.c
fcal.c
fcal.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c
g_NCR5380.h
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c
gdth.h
gvp11.c
gvp11.h
hosts.c SCSI: use the proper semaphore to protect the class lists 2007-04-27 10:57:30 -07:00
hptiop.c
hptiop.h
ibmmca.c
ibmmca.h
ide-scsi.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c [SCSI] ipr: Use PCI-E reset API for new ipr adapter 2007-05-08 11:54:40 -05:00
ipr.h [SCSI] ipr: Use PCI-E reset API for new ipr adapter 2007-05-08 11:54:40 -05:00
ips.c
ips.h
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
Kconfig [SCSI]: Add help text for SCSI_ESP_CORE. 2007-05-13 23:52:14 -07:00
lasi700.c
libiscsi.c
libsrp.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-05 13:30:44 -07:00
mac53c94.c [POWERPC] Rename get_property to of_get_property: drivers 2007-05-02 20:04:32 +10:00
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-05 13:30:44 -07:00
mca_53c9x.c
megaraid.c [SCSI] megaraid: replace yield() with cond_resched() 2007-05-08 11:16:44 -05:00
megaraid.h [SCSI] megaraid: fix warnings when CONFIG_PROC_FS=n 2007-05-08 11:15:08 -05:00
mesh.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-08 20:32:16 -07:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c
NCR53C9x.c
NCR53C9x.h
NCR5380.c
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
oktagon_esp.c
oktagon_io.S
osst_detect.h
osst_options.h
osst.c [SCSI] modalias for scsi devices 2007-04-17 18:15:04 -04:00
osst.h
pas16.c
pas16.h
pluto.c
pluto.h
ppa.c
ppa.h
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] qla1280: use DMA_64BIT_MASK instead of ~ 0ULL 2007-05-06 09:33:11 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti_asm.c
qlogicpti.c [SPARC/64] constify of_get_property return: drivers 2007-04-26 01:54:27 -07:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi_debug.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
scsi_debug.h
scsi_devinfo.c
scsi_error.c [SCSI] use sysfs configured timeout for EH Start Unit timeout 2007-05-06 09:33:12 -05:00
scsi_ioctl.c
scsi_lib.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
scsi_logging.h
scsi_module.c
scsi_netlink.c [NETLINK]: Switch cb_lock spinlock to mutex and allow to override it 2007-04-25 22:29:03 -07:00
scsi_priv.h
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c [SCSI] fix scsi_wait_scan build problem 2007-03-21 08:15:41 -06:00
scsi_sysctl.c
scsi_sysfs.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-05 13:30:44 -07:00
scsi_tgt_if.c
scsi_tgt_lib.c [SCSI] tgt: remove the code to build sense 2007-03-20 10:52:59 -05:00
scsi_tgt_priv.h
scsi_transport_api.h
scsi_transport_fc.c [SCSI] fc_transport: make all rports wait dev_loss_tmo before removing them 2007-05-06 09:33:20 -05:00
scsi_transport_iscsi.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-05-05 13:30:44 -07:00
scsi_transport_sas.c
scsi_transport_spi.c
scsi_typedefs.h
scsi_wait_scan.c
scsi.c
scsi.h
scsicam.c
sd.c [SCSI] modalias for scsi devices 2007-04-17 18:15:04 -04:00
seagate.c
sg.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sgiwd93.c Convert SGI IP22 and specific drivers to platform_device. 2007-05-11 17:00:29 +01:00
sim710.c
sni_53c710.c Replace deprecated SA_xxx interrupt flags 2007-05-08 11:15:08 -07:00
sr_ioctl.c
sr_vendor.c
sr.c [SCSI] modalias for scsi devices 2007-04-17 18:15:04 -04:00
sr.h
st_options.h
st.c [SCSI] modalias for scsi devices 2007-04-17 18:15:04 -04:00
st.h
stex.c
sun3_NCR5380.c
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c
sun_esp.c [SCSI] SUNESP: sun_esp.c needs linux/delay.h 2007-05-06 22:43:41 -07:00
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c [SCSI] tmscsim: Remove the last bus_to_virt() 2007-05-06 09:33:21 -05:00
tmscsim.h [SCSI] tmscsim: remove bogus endianness conversions 2007-05-06 09:33:21 -05:00
u14-34f.c
ultrastor.c
ultrastor.h
wd33c93.c
wd33c93.h
wd7000.c
zalon.c