Repository navigation
Commit cd354f1
[PATCH] remove many unneeded #includes of sched.h
After Al Viro (finally) succeeded in removing the sched.h #include in module.h
recently, it makes sense again to remove other superfluous sched.h includes.
There are quite a lot of files which include it but don't actually need
anything defined in there. Presumably these includes were once needed for
macros that used to live in sched.h, but moved to other header files in the
course of cleaning it up.
To ease the pain, this time I did not fiddle with any header files and only
removed #includes from .c-files, which tend to cause less trouble.
Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
configs in arch/arm/configs on arm. I also checked that no new warnings were
introduced by the patch (actually, some warnings are removed that were emitted
by unnecessarily included header files).
Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 3fc605a commit cd354f1
553 files changed
Lines changed: 6 additions & 553 deletions
File tree
- drivers
- acorn
- block
- char
- acpi
- sleep
- ata
- atm
- block
- paride
- bluetooth
- cdrom
- char
- drm
- ipmi
- tpm
- cpufreq
- crypto
- fc4
- hid
- i2c
- busses
- chips
- ide
- legacy
- ppc
- ieee1394
- infiniband/core
- input
- mouse
- serio
- isdn
- capi
- hardware
- avm
- eicon
- hisax
- hysdn
- i4l
- pcbit
- macintosh
- media
- dvb
- dvb-core
- ttpci
- radio
- video
- bt8xx
- cx88
- em28xx
- saa7134
- usbvideo
- usbvision
- message/fusion
- mmc
- mtd
- chips
- devices
- net
- arm
- bonding
- cris
- fec_8xx
- fs_enet
- ibm_emac
- irda
- phy
- wan
- wireless
- bcm43xx
- parisc
- parport
- pci
- hotplug
- pcmcia
- rapidio
- s390
- char
- net
- sbus/char
- scsi
- aacraid
- arm
- pcmcia
- serial
- tc
- telephony
- usb
- gadget
- host
- image
- input
- misc/sisusbvga
- net
- storage
- video
- aty
- console
- i810
- intelfb
- kyro
- nvidia
- riva
- savage
- fs
- afs
- ecryptfs
- ext3
- ext4
- gfs2
- hfsplus
- jffs2
- lockd
- nfsd
- nfs
- smbfs
- ufs
- xfs/linux-2.6
- init
- kernel
- net
- 802
- atm
- ax25
- bluetooth
- bnep
- cmtp
- hidp
- bridge/netfilter
- core
- decnet
- econet
- ethernet
- ipv4
- ipvs
- netfilter
- ipv6
- netfilter
- irda/ircomm
- lapb
- netfilter
- netrom
- packet
- rose
- rxrpc
- sched
- sctp
- sunrpc
- unix
- security
- keys
- selinux/ss
- sound
- core
- seq
- instr
- drivers
- isa
- synth/emux
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
0 commit comments