[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason
authorOlaf Hering <olh@suse.de>
Wed, 9 Nov 2005 05:34:55 +0000 (21:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:55:57 +0000 (07:55 -0800)
commit733482e445ca4450cf41381b1c95e2b8c7145114
treed31a2fdaeb8e439fc348a781c780a035d794266d
parentc1a0f5e3c01d28b6782457bee5ae5ace3a9958ec
[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason

This patch removes almost all inclusions of linux/version.h.  The 3
#defines are unused in most of the touched files.

A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
unfortunatly in linux/version.h.

There are also lots of #ifdef for long obsolete kernels, this was not
touched.  In a few places, the linux/version.h include was move to where
the LINUX_VERSION_CODE was used.

quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

search pattern:
/UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
156 files changed:
arch/arm/mach-omap1/leds-h2p2-debug.c
arch/arm/plat-omap/ocpi.c
arch/cris/arch-v10/drivers/pcf8563.c
arch/cris/arch-v10/kernel/fasttimer.c
arch/cris/arch-v32/drivers/nandflash.c
arch/cris/arch-v32/drivers/pcf8563.c
arch/mips/tx4938/toshiba_rbtx4938/irq.c
arch/parisc/kernel/asm-offsets.c
arch/ppc/syslib/prom.c
arch/ppc/syslib/prom_init.c
drivers/block/amiflop.c
drivers/char/ip2.c
drivers/char/mwave/tp3780i.c
drivers/char/mxser.c
drivers/char/specialix.c
drivers/char/tpm/tpm.h
drivers/char/viocons.c
drivers/char/viotape.c
drivers/firmware/dell_rbu.c
drivers/infiniband/ulp/srp/ib_srp.c
drivers/isdn/divert/divert_init.c
drivers/isdn/divert/divert_procfs.c
drivers/isdn/divert/isdn_divert.c
drivers/isdn/hisax/hisax_fcpcipnp.c
drivers/isdn/hisax/st5481_init.c
drivers/isdn/hysdn/hycapi.c
drivers/isdn/hysdn/hysdn_init.c
drivers/isdn/hysdn/hysdn_net.c
drivers/isdn/hysdn/hysdn_procconf.c
drivers/isdn/hysdn/hysdn_proclog.c
drivers/isdn/i4l/isdn_common.c
drivers/isdn/icn/icn.h
drivers/isdn/isdnloop/isdnloop.h
drivers/isdn/sc/includes.h
drivers/md/bitmap.c
drivers/media/video/arv.c
drivers/media/video/zr36016.c
drivers/media/video/zr36050.c
drivers/media/video/zr36060.c
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptctl.c
drivers/message/fusion/mptctl.h
drivers/message/fusion/mptlan.h
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/misc/ibmasm/ibmasm.h
drivers/mtd/chips/cfi_cmdset_0020.c
drivers/mtd/devices/pmc551.c
drivers/mtd/maps/ebony.c
drivers/mtd/maps/ocotea.c
drivers/mtd/maps/walnut.c
drivers/mtd/nand/au1550nd.c
drivers/mtd/nand/autcpu12.c
drivers/net/b44.c
drivers/net/cassini.c
drivers/net/dm9000.c
drivers/net/fs_enet/fs_enet.h
drivers/net/gianfar.c
drivers/net/gianfar.h
drivers/net/gianfar_ethtool.c
drivers/net/gianfar_mii.c
drivers/net/hp100.c
drivers/net/ibmveth.c
drivers/net/iseries_veth.c
drivers/net/mac8390.c
drivers/net/mv643xx_eth.h
drivers/net/s2io.c
drivers/net/sk98lin/h/skdrv1st.h
drivers/net/sk_mca.c
drivers/net/sk_mca.h
drivers/net/starfire.c
drivers/net/via-velocity.c
drivers/net/wireless/hostap/hostap.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/hostap/hostap_pci.c
drivers/net/wireless/hostap/hostap_plx.c
drivers/net/wireless/ipw2100.h
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.h
drivers/net/wireless/orinoco.h
drivers/net/wireless/prism54/isl_38xx.c
drivers/net/wireless/prism54/isl_38xx.h
drivers/net/wireless/prism54/isl_ioctl.c
drivers/net/wireless/prism54/islpci_dev.c
drivers/net/wireless/prism54/islpci_dev.h
drivers/net/wireless/prism54/islpci_eth.c
drivers/net/wireless/prism54/islpci_hotplug.c
drivers/pcmcia/au1000_pb1x00.c
drivers/pcmcia/au1000_xxs1500.c
drivers/s390/crypto/z90main.c
drivers/s390/net/claw.c
drivers/scsi/3w-xxxx.h
drivers/scsi/a2091.c
drivers/scsi/aic7xxx/aic79xx_osm.h
drivers/scsi/aic7xxx/aic7xxx_osm.h
drivers/scsi/amiga7xx.c
drivers/scsi/bvme6000.c
drivers/scsi/gvp11.c
drivers/scsi/ibmmca.c
drivers/scsi/ips.h
drivers/scsi/megaraid/mega_common.h
drivers/scsi/megaraid/megaraid_mm.h
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/mvme147.c
drivers/scsi/mvme16x.c
drivers/scsi/nsp32.h
drivers/scsi/pci2000.h
drivers/scsi/scsi_debug.c
drivers/scsi/sg.c
drivers/scsi/sgiwd93.c
drivers/scsi/wd33c93.c
drivers/telephony/ixj.h
drivers/usb/gadget/dummy_hcd.c
drivers/usb/gadget/lh7a40x_udc.h
drivers/usb/gadget/pxa2xx_udc.c
drivers/usb/gadget/rndis.c
drivers/usb/host/hc_crisv10.c
drivers/usb/media/pwc/pwc-if.c
drivers/usb/media/pwc/pwc.h
drivers/usb/media/w9968cf.c
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb.h
drivers/usb/misc/sisusbvga/sisusb_con.c
drivers/usb/misc/sisusbvga/sisusb_init.c
drivers/video/backlight/backlight.c
drivers/video/backlight/lcd.c
drivers/video/intelfb/intelfbdrv.c
drivers/video/intelfb/intelfbhw.c
fs/9p/vfs_file.c
fs/adfs/adfs.h
fs/hfs/hfs_fs.h
fs/hfs/inode.c
fs/hfsplus/bnode.c
fs/hfsplus/dir.c
fs/hfsplus/extents.c
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/inode.c
fs/hfsplus/super.c
fs/hfsplus/wrapper.c
fs/hostfs/hostfs_kern.c
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/xfs.h
fs/xfs/xfs_dmapi.h
include/linux/fs_enet_pd.h
include/linux/if_wanpipe_common.h
include/linux/istallion.h
include/linux/mtd/cfi.h
include/linux/mtd/mtd.h
include/linux/phonedev.h
include/linux/stallion.h
sound/oss/msnd.c
sound/oss/os.h
sound/oss/rme96xx.c
sound/oss/sh_dac_audio.c
sound/ppc/pmac.h