]> err.no Git - linux-2.6/commit
[PATCH] fix missing includes
authorTim Schmielau <tim@physik3.uni-rostock.de>
Sun, 30 Oct 2005 23:03:48 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:32 +0000 (17:37 -0800)
commit4e57b6817880946a3a78d5d8cad1ace363f7e449
treeb6b5f3f9e8e52cc55d98239a4992e72e983c8fa4
parentb0423a0d9cc836b2c3d796623cd19236bfedfe63
[PATCH] fix missing includes

I recently picked up my older work to remove unnecessary #includes of
sched.h, starting from a patch by Dave Jones to not include sched.h
from module.h. This reduces the number of indirect includes of sched.h
by ~300. Another ~400 pointless direct includes can be removed after
this disentangling (patch to follow later).
However, quite a few indirect includes need to be fixed up for this.

In order to feed the patches through -mm with as little disturbance as
possible, I've split out the fixes I accumulated up to now (complete for
i386 and x86_64, more archs to follow later) and post them before the real
patch.  This way this large part of the patch is kept simple with only
adding #includes, and all hunks are independent of each other.  So if any
hunk rejects or gets in the way of other patches, just drop it.  My scripts
will pick it up again in the next round.

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
180 files changed:
Documentation/firmware_class/firmware_sample_driver.c
Documentation/firmware_class/firmware_sample_firmware_class.c
arch/arm/common/amba.c
arch/arm/common/scoop.c
arch/arm/kernel/arthur.c
arch/arm/mach-imx/generic.c
arch/arm/mach-integrator/clock.c
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/lm.c
arch/arm/mach-iop3xx/iq31244-pci.c
arch/arm/mach-iop3xx/iq80321-pci.c
arch/arm/mach-iop3xx/iq80331-pci.c
arch/arm/mach-iop3xx/iq80332-pci.c
arch/arm/mach-pxa/generic.c
arch/arm/mach-sa1100/generic.c
arch/arm/mach-versatile/clock.c
arch/arm/plat-omap/clock.c
arch/cris/arch-v10/drivers/axisflashmap.c
arch/cris/arch-v32/drivers/axisflashmap.c
arch/cris/kernel/time.c
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
arch/i386/kernel/cpu/intel_cacheinfo.c
arch/ia64/kernel/cyclone.c
arch/m32r/lib/csum_partial_copy.c
arch/mips/sgi-ip27/ip27-berr.c
arch/ppc/syslib/of_device.c
arch/ppc64/kernel/hvcserver.c
arch/ppc64/kernel/of_device.c
arch/ppc64/lib/locks.c
arch/sh/drivers/dma/dma-sysfs.c
arch/sh/kernel/cpufreq.c
arch/xtensa/kernel/platform.c
drivers/acpi/processor_idle.c
drivers/base/class.c
drivers/base/platform.c
drivers/base/sys.c
drivers/block/cciss_scsi.c
drivers/block/paride/paride.c
drivers/block/paride/pg.c
drivers/block/paride/pt.c
drivers/char/agp/ali-agp.c
drivers/char/agp/amd64-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/i460-agp.c
drivers/char/agp/isoch.c
drivers/char/agp/sworks-agp.c
drivers/char/drm/drm_sysfs.c
drivers/char/mwave/3780i.c
drivers/char/watchdog/cpu5wdt.c
drivers/char/watchdog/mixcomwd.c
drivers/char/watchdog/pcwd.c
drivers/char/watchdog/sc520_wdt.c
drivers/char/watchdog/softdog.c
drivers/infiniband/core/cache.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/hw/mthca/mthca_av.c
drivers/infiniband/hw/mthca/mthca_mad.c
drivers/infiniband/hw/mthca/mthca_mcg.c
drivers/infiniband/hw/mthca/mthca_profile.c
drivers/infiniband/hw/mthca/mthca_qp.c
drivers/infiniband/hw/mthca/mthca_reset.c
drivers/infiniband/hw/mthca/mthca_uar.c
drivers/input/gameport/gameport.c
drivers/input/joystick/a3d.c
drivers/input/joystick/adi.c
drivers/input/joystick/analog.c
drivers/input/joystick/cobra.c
drivers/input/joystick/gf2k.c
drivers/input/joystick/grip.c
drivers/input/joystick/grip_mp.c
drivers/input/joystick/guillemot.c
drivers/input/joystick/interact.c
drivers/input/joystick/joydump.c
drivers/input/joystick/sidewinder.c
drivers/input/joystick/tmdc.c
drivers/input/serio/hp_sdc_mlc.c
drivers/isdn/capi/capifs.c
drivers/macintosh/macio_asic.c
drivers/mca/mca-device.c
drivers/media/common/ir-common.c
drivers/media/dvb/dvb-core/dvb_ca_en50221.c
drivers/media/dvb/frontends/bcm3510.c
drivers/media/dvb/frontends/dib3000mb.c
drivers/media/dvb/frontends/dib3000mc.c
drivers/media/dvb/frontends/dvb_dummy_fe.c
drivers/media/dvb/frontends/lgdt330x.c
drivers/media/dvb/frontends/mt312.c
drivers/media/dvb/frontends/mt352.c
drivers/media/dvb/frontends/nxt2002.c
drivers/media/dvb/frontends/or51132.c
drivers/media/dvb/frontends/or51211.c
drivers/media/dvb/frontends/s5h1420.c
drivers/media/dvb/frontends/sp8870.c
drivers/media/dvb/frontends/sp887x.c
drivers/media/dvb/frontends/stv0297.c
drivers/media/dvb/frontends/stv0299.c
drivers/media/dvb/frontends/tda1004x.c
drivers/media/dvb/frontends/tda8083.c
drivers/media/radio/miropcm20-rds.c
drivers/message/i2o/device.c
drivers/message/i2o/driver.c
drivers/message/i2o/exec-osm.c
drivers/message/i2o/iop.c
drivers/mtd/chips/jedec.c
drivers/mtd/devices/lart.c
drivers/mtd/devices/phram.c
drivers/mtd/maps/bast-flash.c
drivers/mtd/maps/ceiva.c
drivers/mtd/maps/dc21285.c
drivers/mtd/maps/dilnetpc.c
drivers/mtd/maps/epxa10db-flash.c
drivers/mtd/maps/fortunet.c
drivers/mtd/maps/ixp2000.c
drivers/mtd/maps/ixp4xx.c
drivers/mtd/maps/lubbock-flash.c
drivers/mtd/maps/mainstone-flash.c
drivers/mtd/maps/omap-toto-flash.c
drivers/mtd/maps/omap_nor.c
drivers/mtd/maps/pci.c
drivers/mtd/maps/plat-ram.c
drivers/mtd/maps/tqm8xxl.c
drivers/mtd/mtdblock.c
drivers/mtd/mtdchar.c
drivers/mtd/mtdconcat.c
drivers/mtd/nand/s3c2410.c
drivers/pci/hotplug/cpcihp_generic.c
drivers/pci/hotplug/cpcihp_zt5550.c
drivers/pci/hotplug/fakephp.c
drivers/pci/hotplug/pciehprm_nonacpi.c
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp_pci.c
drivers/pci/hotplug/rpaphp_slot.c
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchprm_nonacpi.c
drivers/pci/pci-driver.c
drivers/pci/pci.c
drivers/pci/pcie/portdrv_core.c
drivers/pci/pcie/portdrv_pci.c
drivers/pci/rom.c
drivers/pnp/manager.c
drivers/pnp/pnpbios/rsparser.c
drivers/s390/cio/cmf.c
drivers/s390/cio/device.c
drivers/s390/cio/device_fsm.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.h
drivers/sh/superhyway/superhyway.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-pci.c
drivers/usb/host/ohci-pxa27x.c
drivers/w1/w1_family.c
drivers/zorro/zorro-sysfs.c
drivers/zorro/zorro.c
fs/filesystems.c
fs/jffs2/background.c
fs/jffs2/wbuf.c
include/linux/cpufreq.h
include/linux/gameport.h
include/linux/i2c.h
include/linux/i2o.h
include/linux/kobj_map.h
include/linux/mtd/map.h
include/linux/serial.h
include/linux/textsearch.h
include/pcmcia/ss.h
include/scsi/scsi_cmnd.h
include/scsi/scsi_transport_fc.h
kernel/kallsyms.c
kernel/kprobes.c
kernel/params.c
lib/kobject.c
lib/smp_processor_id.c
lib/sort.c
lib/vsprintf.c
sound/oss/ac97_codec.c