rpms/kernel/devel linux-2.6-header-cleanup-git.patch, NONE, 1.1 linux-2.6-header-install-git.patch, NONE, 1.1 kernel-2.6.spec, 1.2162, 1.2163

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Apr 26 12:22:19 UTC 2006


Author: dwmw2

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9222

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-header-cleanup-git.patch 
	linux-2.6-header-install-git.patch 
Log Message:
kernel-headers subpackage

linux-2.6-header-cleanup-git.patch:
 acpi/platform/aclinux.h                      |    1 
 acpi/processor.h                             |    1 
 asm-alpha/bitops.h                           |    1 
 asm-alpha/cache.h                            |    1 
 asm-alpha/cacheflush.h                       |    1 
 asm-alpha/core_cia.h                         |    1 
 asm-alpha/core_t2.h                          |    1 
 asm-alpha/dma-mapping.h                      |    1 
 asm-alpha/dma.h                              |    1 
 asm-alpha/floppy.h                           |    1 
 asm-alpha/hardirq.h                          |    1 
 asm-alpha/hw_irq.h                           |    1 
 asm-alpha/ide.h                              |    1 
 asm-alpha/io.h                               |    1 
 asm-alpha/irq.h                              |    1 
 asm-alpha/kmap_types.h                       |    1 
 asm-alpha/machvec.h                          |    1 
 asm-alpha/mmu_context.h                      |    1 
 asm-alpha/mmzone.h                           |    1 
 asm-alpha/page.h                             |    1 
 asm-alpha/param.h                            |    1 
 asm-alpha/pgalloc.h                          |    1 
 asm-alpha/pgtable.h                          |    1 
 asm-alpha/serial.h                           |    1 
 asm-alpha/smp.h                              |    1 
 asm-alpha/spinlock.h                         |    1 
 asm-alpha/system.h                           |    1 
 asm-alpha/tlbflush.h                         |    1 
 asm-arm/apm.h                                |    1 
 asm-arm/arch-aaec2000/memory.h               |    1 
 asm-arm/arch-cl7500/acornfb.h                |    1 
 asm-arm/arch-clps711x/hardware.h             |    1 
 asm-arm/arch-clps711x/memory.h               |    1 
 asm-arm/arch-clps711x/uncompress.h           |    1 
 asm-arm/arch-ebsa285/hardware.h              |    1 
 asm-arm/arch-ebsa285/memory.h                |    1 
 asm-arm/arch-ebsa285/vmalloc.h               |    1 
 asm-arm/arch-integrator/smp.h                |    1 
 asm-arm/arch-iop3xx/memory.h                 |    1 
 asm-arm/arch-iop3xx/timex.h                  |    1 
 asm-arm/arch-iop3xx/uncompress.h             |    1 
 asm-arm/arch-ixp4xx/dma.h                    |    1 
 asm-arm/arch-lh7a40x/constants.h             |    1 
 asm-arm/arch-lh7a40x/irqs.h                  |    1 
 asm-arm/arch-lh7a40x/registers.h             |    1 
 asm-arm/arch-omap/board.h                    |    1 
 asm-arm/arch-omap/hardware.h                 |    1 
 asm-arm/arch-omap/system.h                   |    1 
 asm-arm/arch-omap/uncompress.h               |    1 
 asm-arm/arch-pxa/idp.h                       |    1 
 asm-arm/arch-pxa/irqs.h                      |    1 
 asm-arm/arch-pxa/pxa-regs.h                  |    1 
 asm-arm/arch-pxa/timex.h                     |    1 
 asm-arm/arch-realview/smp.h                  |    1 
 asm-arm/arch-s3c2410/dma.h                   |    1 
 asm-arm/arch-s3c2410/uncompress.h            |    1 
 asm-arm/arch-sa1100/assabet.h                |    1 
 asm-arm/arch-sa1100/cerf.h                   |    1 
 asm-arm/arch-sa1100/collie.h                 |    1 
 asm-arm/arch-sa1100/dma.h                    |    1 
 asm-arm/arch-sa1100/hardware.h               |    1 
 asm-arm/arch-sa1100/ide.h                    |    1 
 asm-arm/arch-sa1100/irqs.h                   |    1 
 asm-arm/arch-sa1100/memory.h                 |    1 
 asm-arm/arch-sa1100/system.h                 |    1 
 asm-arm/atomic.h                             |    1 
 asm-arm/bug.h                                |    1 
 asm-arm/cacheflush.h                         |    1 
 asm-arm/cpu.h                                |    1 
 asm-arm/dma-mapping.h                        |    1 
 asm-arm/dma.h                                |    1 
 asm-arm/elf.h                                |    1 
 asm-arm/fpstate.h                            |    1 
 asm-arm/glue.h                               |    1 
 asm-arm/hardirq.h                            |    1 
 asm-arm/hardware/dec21285.h                  |    1 
 asm-arm/hardware/iomd.h                      |    1 
 asm-arm/leds.h                               |    1 
 asm-arm/mach/serial_at91rm9200.h             |    1 
 asm-arm/mach/serial_sa1100.h                 |    1 
 asm-arm/memory.h                             |    1 
 asm-arm/page.h                               |    1 
 asm-arm/pci.h                                |    1 
 asm-arm/proc-fns.h                           |    1 
 asm-arm/ptrace.h                             |    1 
 asm-arm/smp.h                                |    1 
 asm-arm/system.h                             |    1 
 asm-arm/tlbflush.h                           |    1 
 asm-arm26/atomic.h                           |    1 
 asm-arm26/bug.h                              |    1 
 asm-arm26/dma.h                              |    1 
 asm-arm26/hardirq.h                          |    1 
 asm-arm26/hardware.h                         |    1 
 asm-arm26/io.h                               |    1 
 asm-arm26/leds.h                             |    1 
 asm-arm26/mach-types.h                       |    1 
 asm-arm26/page.h                             |    1 
 asm-arm26/pgtable.h                          |    1 
 asm-arm26/serial.h                           |    1 
 asm-arm26/smp.h                              |    1 
 asm-arm26/sysirq.h                           |    1 
 asm-arm26/system.h                           |    1 
 asm-cris/arch-v10/io.h                       |    1 
 asm-cris/arch-v10/page.h                     |    1 
 asm-cris/arch-v10/system.h                   |    1 
 asm-cris/arch-v32/io.h                       |    1 
 asm-cris/arch-v32/irq.h                      |    1 
 asm-cris/arch-v32/page.h                     |    1 
 asm-cris/arch-v32/processor.h                |    1 
 asm-cris/arch-v32/system.h                   |    1 
 asm-cris/eshlibld.h                          |    1 
 asm-cris/etraxgpio.h                         |    1 
 asm-cris/fasttimer.h                         |    1 
 asm-cris/page.h                              |    1 
 asm-cris/pci.h                               |    1 
 asm-cris/pgtable.h                           |    1 
 asm-cris/processor.h                         |    1 
 asm-cris/rtc.h                               |    1 
 asm-cris/tlbflush.h                          |    1 
 asm-frv/atomic.h                             |    1 
 asm-frv/bitops.h                             |    1 
 asm-frv/bug.h                                |    1 
 asm-frv/cache.h                              |    1 
 asm-frv/dma.h                                |    1 
 asm-frv/elf.h                                |    1 
 asm-frv/fpu.h                                |    1 
 asm-frv/hardirq.h                            |    1 
 asm-frv/highmem.h                            |    1 
 asm-frv/ide.h                                |    1 
 asm-frv/io.h                                 |    1 
 asm-frv/irq.h                                |    1 
 asm-frv/mmu_context.h                        |    1 
 asm-frv/page.h                               |    1 
 asm-frv/pci.h                                |    1 
 asm-frv/pgalloc.h                            |    1 
 asm-frv/pgtable.h                            |    1 
 asm-frv/processor.h                          |    1 
 asm-frv/segment.h                            |    1 
 asm-frv/serial.h                             |    1 
 asm-frv/smp.h                                |    1 
 asm-frv/system.h                             |    1 
 asm-frv/tlbflush.h                           |    1 
 asm-frv/types.h                              |    1 
 asm-frv/unaligned.h                          |    1 
 asm-frv/virtconvert.h                        |    1 
 asm-generic/bug.h                            |    1 
 asm-generic/dma-mapping.h                    |    1 
 asm-generic/fcntl.h                          |    1 
 asm-generic/local.h                          |    1 
 asm-generic/tlb.h                            |    1 
 asm-h8300/bitops.h                           |    1 
 asm-h8300/dma.h                              |    1 
 asm-h8300/elf.h                              |    1 
 asm-h8300/hardirq.h                          |    1 
 asm-h8300/io.h                               |    1 
 asm-h8300/keyboard.h                         |    1 
 asm-h8300/mmu_context.h                      |    1 
 asm-h8300/page.h                             |    1 
 asm-h8300/page_offset.h                      |    1 
 asm-h8300/param.h                            |    1 
 asm-h8300/pgtable.h                          |    1 
 asm-h8300/processor.h                        |    1 
 asm-h8300/semaphore-helper.h                 |    1 
 asm-h8300/shm.h                              |    1 
 asm-h8300/system.h                           |    1 
 asm-h8300/unaligned.h                        |    1 
 asm-h8300/virtconvert.h                      |    1 
 asm-i386/apic.h                              |    1 
 asm-i386/atomic.h                            |    1 
 asm-i386/bitops.h                            |    1 
 asm-i386/bug.h                               |    1 
 asm-i386/bugs.h                              |    1 
 asm-i386/byteorder.h                         |    1 
 asm-i386/cache.h                             |    1 
 asm-i386/dma.h                               |    1 
 asm-i386/fixmap.h                            |    1 
 asm-i386/hardirq.h                           |    1 
 asm-i386/highmem.h                           |    1 
 asm-i386/hpet.h                              |    1 
 asm-i386/hw_irq.h                            |    1 
 asm-i386/ide.h                               |    1 
 asm-i386/io.h                                |    1 
 asm-i386/io_apic.h                           |    1 
 asm-i386/irq.h                               |    1 
 asm-i386/kmap_types.h                        |    1 
 asm-i386/mach-summit/mach_apic.h             |    1 
 asm-i386/mmu_context.h                       |    1 
 asm-i386/mtrr.h                              |    1 
 asm-i386/page.h                              |    1 
 asm-i386/param.h                             |    1 
 asm-i386/pci.h                               |    1 
 asm-i386/pgalloc.h                           |    1 
 asm-i386/pgtable.h                           |    1 
 asm-i386/processor.h                         |    1 
 asm-i386/serial.h                            |    1 
 asm-i386/smp.h                               |    1 
 asm-i386/spinlock.h                          |    1 
 asm-i386/string.h                            |    1 
 asm-i386/system.h                            |    1 
 asm-i386/thread_info.h                       |    1 
 asm-i386/timex.h                             |    1 
 asm-i386/tlbflush.h                          |    1 
 asm-i386/types.h                             |    1 
 asm-i386/uaccess.h                           |    1 
 asm-ia64/asmmacro.h                          |    1 
 asm-ia64/cache.h                             |    1 
 asm-ia64/delay.h                             |    1 
 asm-ia64/dma-mapping.h                       |    1 
 asm-ia64/dma.h                               |    1 
 asm-ia64/elf.h                               |    1 
 asm-ia64/hardirq.h                           |    1 
 asm-ia64/ia32.h                              |    1 
 asm-ia64/ide.h                               |    1 
 asm-ia64/intrinsics.h                        |    1 
 asm-ia64/kmap_types.h                        |    1 
 asm-ia64/machvec.h                           |    1 
 asm-ia64/meminit.h                           |    1 
 asm-ia64/nodedata.h                          |    1 
 asm-ia64/numa.h                              |    1 
 asm-ia64/page.h                              |    1 
 asm-ia64/param.h                             |    1 
 asm-ia64/percpu.h                            |    1 
 asm-ia64/pgalloc.h                           |    1 
 asm-ia64/pgtable.h                           |    1 
 asm-ia64/processor.h                         |    1 
 asm-ia64/ptrace.h                            |    1 
 asm-ia64/smp.h                               |    1 
 asm-ia64/sn/simulator.h                      |    1 
 asm-ia64/sn/sn_cpuid.h                       |    1 
 asm-ia64/sn/sn_sal.h                         |    1 
 asm-ia64/sn/xpc.h                            |    1 
 asm-ia64/string.h                            |    1 
 asm-ia64/system.h                            |    1 
 asm-ia64/tlb.h                               |    1 
 asm-ia64/tlbflush.h                          |    1 
 asm-ia64/unistd.h                            |    1 
 asm-m32r/assembler.h                         |    1 
 asm-m32r/atomic.h                            |    1 
 asm-m32r/bitops.h                            |    1 
 asm-m32r/cacheflush.h                        |    1 
 asm-m32r/hardirq.h                           |    1 
 asm-m32r/ide.h                               |    1 
 asm-m32r/irq.h                               |    1 
 asm-m32r/kmap_types.h                        |    1 
 asm-m32r/m32104ut/m32104ut_pld.h             |    1 
 asm-m32r/m32700ut/m32700ut_lan.h             |    1 
 asm-m32r/m32700ut/m32700ut_lcd.h             |    1 
 asm-m32r/m32700ut/m32700ut_pld.h             |    1 
 asm-m32r/m32r.h                              |    1 
 asm-m32r/mmu.h                               |    1 
 asm-m32r/mmu_context.h                       |    2 -
 asm-m32r/opsput/opsput_lan.h                 |    1 
 asm-m32r/opsput/opsput_lcd.h                 |    1 
 asm-m32r/opsput/opsput_pld.h                 |    1 
 asm-m32r/page.h                              |    1 
 asm-m32r/pgalloc.h                           |    1 
 asm-m32r/pgtable-2level.h                    |    1 
 asm-m32r/pgtable.h                           |    1 
 asm-m32r/processor.h                         |    1 
 asm-m32r/ptrace.h                            |    1 
 asm-m32r/rtc.h                               |    1 
 asm-m32r/semaphore.h                         |    1 
 asm-m32r/serial.h                            |    1 
 asm-m32r/sigcontext.h                        |    1 
 asm-m32r/smp.h                               |    1 
 asm-m32r/spinlock.h                          |    1 
 asm-m32r/system.h                            |    1 
 asm-m32r/timex.h                             |    1 
 asm-m32r/tlbflush.h                          |    1 
 asm-m32r/uaccess.h                           |    1 
 asm-m68k/atomic.h                            |    1 
 asm-m68k/bug.h                               |    1 
 asm-m68k/dma-mapping.h                       |    1 
 asm-m68k/dma.h                               |    1 
 asm-m68k/dvma.h                              |    1 
 asm-m68k/elf.h                               |    1 
 asm-m68k/entry.h                             |    1 
 asm-m68k/fpu.h                               |    1 
 asm-m68k/hardirq.h                           |    1 
 asm-m68k/ide.h                               |    1 
 asm-m68k/io.h                                |    1 
 asm-m68k/irq.h                               |    1 
 asm-m68k/mc146818rtc.h                       |    1 
 asm-m68k/mmu_context.h                       |    1 
 asm-m68k/motorola_pgtable.h                  |    1 
 asm-m68k/openprom.h                          |    1 
 asm-m68k/page.h                              |    1 
 asm-m68k/page_offset.h                       |    1 
 asm-m68k/pgalloc.h                           |    1 
 asm-m68k/pgtable.h                           |    1 
 asm-m68k/processor.h                         |    1 
 asm-m68k/semaphore-helper.h                  |    1 
 asm-m68k/serial.h                            |    1 
 asm-m68k/setup.h                             |    1 
 asm-m68k/shm.h                               |    1 
 asm-m68k/system.h                            |    1 
 asm-m68k/tlbflush.h                          |    1 
 asm-m68k/virtconvert.h                       |    1 
 asm-m68knommu/bitops.h                       |    1 
 asm-m68knommu/coldfire.h                     |    1 
 asm-m68knommu/commproc.h                     |    1 
 asm-m68knommu/dma-mapping.h                  |    1 
 asm-m68knommu/dma.h                          |    1 
 asm-m68knommu/elf.h                          |    1 
 asm-m68knommu/elia.h                         |    1 
 asm-m68knommu/entry.h                        |    1 
 asm-m68knommu/fpu.h                          |    1 
 asm-m68knommu/hardirq.h                      |    1 
 asm-m68knommu/io.h                           |    1 
 asm-m68knommu/irq.h                          |    1 
 asm-m68knommu/m5206sim.h                     |    1 
 asm-m68knommu/m520xsim.h                     |    1 
 asm-m68knommu/m523xsim.h                     |    1 
 asm-m68knommu/m5272sim.h                     |    1 
 asm-m68knommu/m527xsim.h                     |    1 
 asm-m68knommu/m528xsim.h                     |    1 
 asm-m68knommu/mcfcache.h                     |    1 
 asm-m68knommu/mcfdma.h                       |    1 
 asm-m68knommu/mcfmbus.h                      |    1 
 asm-m68knommu/mcfne.h                        |    1 
 asm-m68knommu/mcfpci.h                       |    1 
 asm-m68knommu/mcfpit.h                       |    1 
 asm-m68knommu/mcfsim.h                       |    1 
 asm-m68knommu/mcfsmc.h                       |    1 
 asm-m68knommu/mcftimer.h                     |    1 
 asm-m68knommu/mcfuart.h                      |    1 
 asm-m68knommu/mcfwdebug.h                    |    1 
 asm-m68knommu/mmu_context.h                  |    1 
 asm-m68knommu/nettel.h                       |    1 
 asm-m68knommu/page.h                         |    1 
 asm-m68knommu/page_offset.h                  |    1 
 asm-m68knommu/param.h                        |    1 
 asm-m68knommu/pgtable.h                      |    1 
 asm-m68knommu/processor.h                    |    1 
 asm-m68knommu/semaphore-helper.h             |    1 
 asm-m68knommu/system.h                       |    1 
 asm-m68knommu/unaligned.h                    |    1 
 asm-mips/a.out.h                             |    1 
 asm-mips/addrspace.h                         |    1 
 asm-mips/arc/types.h                         |    1 
 asm-mips/asm.h                               |    1 
 asm-mips/asmmacro.h                          |    1 
 asm-mips/atomic.h                            |    1 
 asm-mips/bcache.h                            |    1 
 asm-mips/bitops.h                            |    1 
 asm-mips/bug.h                               |    1 
 asm-mips/bugs.h                              |    1 
 asm-mips/byteorder.h                         |    1 
 asm-mips/cache.h                             |    1 
 asm-mips/checksum.h                          |    1 
 asm-mips/cpu-features.h                      |    1 
 asm-mips/cpu-info.h                          |    1 
 asm-mips/ddb5xxx/ddb5477.h                   |    1 
 asm-mips/ddb5xxx/ddb5xxx.h                   |    1 
 asm-mips/debug.h                             |    1 
 asm-mips/dec/prom.h                          |    1 
 asm-mips/delay.h                             |    1 
 asm-mips/dma.h                               |    1 
 asm-mips/elf.h                               |    1 
 asm-mips/fcntl.h                             |    1 
 asm-mips/fixmap.h                            |    1 
 asm-mips/fpu.h                               |    1 
 asm-mips/futex.h                             |    1 
 asm-mips/hazards.h                           |    1 
 asm-mips/highmem.h                           |    1 
 asm-mips/interrupt.h                         |    1 
 asm-mips/io.h                                |    1 
 asm-mips/ip32/machine.h                      |    1 
 asm-mips/irq.h                               |    1 
 asm-mips/isadep.h                            |    1 
 asm-mips/jmr3927/irq.h                       |    1 
 asm-mips/kmap_types.h                        |    1 
 asm-mips/local.h                             |    1 
 asm-mips/mach-au1x00/au1000.h                |    1 
 asm-mips/mach-au1x00/au1xxx.h                |    1 
 asm-mips/mach-au1x00/au1xxx_dbdma.h          |    1 
 asm-mips/mach-au1x00/au1xxx_ide.h            |    1 
 asm-mips/mach-au1x00/au1xxx_psc.h            |    1 
 asm-mips/mach-au1x00/ioremap.h               |    1 
 asm-mips/mach-cobalt/cpu-feature-overrides.h |    1 
 asm-mips/mach-db1x00/db1x00.h                |    1 
 asm-mips/mach-generic/ide.h                  |    1 
 asm-mips/mach-generic/kmalloc.h              |    1 
 asm-mips/mach-generic/spaces.h               |    1 
 asm-mips/mach-ip22/spaces.h                  |    1 
 asm-mips/mach-ip32/cpu-feature-overrides.h   |    1 
 asm-mips/mach-ip32/kmalloc.h                 |    1 
 asm-mips/mach-mips/cpu-feature-overrides.h   |    1 
 asm-mips/mach-mips/irq.h                     |    1 
 asm-mips/mach-pb1x00/pb1550.h                |    1 
 asm-mips/mach-sim/cpu-feature-overrides.h    |    1 
 asm-mips/mips-boards/generic.h               |    1 
 asm-mips/mipsregs.h                          |    1 
 asm-mips/mmu_context.h                       |    1 
 asm-mips/mmzone.h                            |    1 
 asm-mips/module.h                            |    1 
 asm-mips/msgbuf.h                            |    1 
 asm-mips/paccess.h                           |    1 
 asm-mips/page.h                              |    1 
 asm-mips/pci.h                               |    1 
 asm-mips/pgalloc.h                           |    1 
 asm-mips/pgtable-32.h                        |    1 
 asm-mips/pgtable-64.h                        |    1 
 asm-mips/pgtable-bits.h                      |    1 
 asm-mips/pgtable.h                           |    1 
 asm-mips/prefetch.h                          |    1 
 asm-mips/processor.h                         |    1 
 asm-mips/ptrace.h                            |    1 
 asm-mips/reg.h                               |    1 
 asm-mips/resource.h                          |    1 
 asm-mips/serial.h                            |    1 
 asm-mips/sgiarcs.h                           |    1 
 asm-mips/sibyte/board.h                      |    1 
 asm-mips/sibyte/carmel.h                     |    1 
 asm-mips/sibyte/sentosa.h                    |    1 
 asm-mips/sibyte/swarm.h                      |    1 
 asm-mips/siginfo.h                           |    1 
 asm-mips/signal.h                            |    1 
 asm-mips/sim.h                               |    1 
 asm-mips/smp.h                               |    1 
 asm-mips/sn/addrs.h                          |    1 
 asm-mips/sn/agent.h                          |    1 
 asm-mips/sn/arch.h                           |    1 
 asm-mips/sn/io.h                             |    1 
 asm-mips/sn/klconfig.h                       |    1 
 asm-mips/sn/kldir.h                          |    1 
 asm-mips/sn/launch.h                         |    1 
 asm-mips/sn/mapped_kernel.h                  |    1 
 asm-mips/sn/sn0/addrs.h                      |    1 
 asm-mips/sn/sn0/arch.h                       |    1 
 asm-mips/sn/sn0/hubmd.h                      |    1 
 asm-mips/stackframe.h                        |    1 
 asm-mips/string.h                            |    1 
 asm-mips/system.h                            |    1 
 asm-mips/thread_info.h                       |    1 
 asm-mips/tlbflush.h                          |    1 
 asm-mips/tx4927/toshiba_rbtx4927.h           |    1 
 asm-mips/types.h                             |    1 
 asm-mips/uaccess.h                           |    1 
 asm-mips/unistd.h                            |    1 
 asm-mips/vr41xx/vrc4173.h                    |    1 
 asm-mips/war.h                               |    1 
 asm-mips/wbflush.h                           |    1 
 asm-parisc/atomic.h                          |    1 
 asm-parisc/cache.h                           |    1 
 asm-parisc/cacheflush.h                      |    1 
 asm-parisc/dma-mapping.h                     |    1 
 asm-parisc/dma.h                             |    1 
 asm-parisc/io.h                              |    1 
 asm-parisc/irq.h                             |    1 
 asm-parisc/kmap_types.h                      |    1 
 asm-parisc/page.h                            |    1 
 asm-parisc/param.h                           |    1 
 asm-parisc/pci.h                             |    1 
 asm-parisc/pdc.h                             |    1 
 asm-parisc/pgtable.h                         |    1 
 asm-parisc/processor.h                       |    1 
 asm-parisc/psw.h                             |    1 
 asm-parisc/smp.h                             |    1 
 asm-parisc/system.h                          |    1 
 asm-parisc/tlbflush.h                        |    1 
 asm-powerpc/abs_addr.h                       |    1 
 asm-powerpc/cache.h                          |    1 
 asm-powerpc/dma-mapping.h                    |    1 
 asm-powerpc/dma.h                            |    1 
 asm-powerpc/eeh.h                            |    1 
 asm-powerpc/elf.h                            |    7 ++--
 asm-powerpc/floppy.h                         |    1 
 asm-powerpc/hw_irq.h                         |    1 
 asm-powerpc/ide.h                            |    1 
 asm-powerpc/iommu.h                          |    1 
 asm-powerpc/irq.h                            |    1 
 asm-powerpc/iseries/iseries_io.h             |    1 
 asm-powerpc/machdep.h                        |    1 
 asm-powerpc/mmzone.h                         |    1 
 asm-powerpc/paca.h                           |    1 
 asm-powerpc/page.h                           |    1 
 asm-powerpc/pgtable.h                        |    1 
 asm-powerpc/ppc_asm.h                        |    1 
 asm-powerpc/prom.h                           |    1 
 asm-powerpc/smp.h                            |    1 
 asm-powerpc/smu.h                            |    1 
 asm-powerpc/spu.h                            |    1 
 asm-powerpc/thread_info.h                    |    1 
 asm-powerpc/time.h                           |    1 
 asm-powerpc/timex.h                          |    1 
 asm-powerpc/tlb.h                            |    1 
 asm-powerpc/tlbflush.h                       |    1 
 asm-powerpc/topology.h                       |    1 
 asm-powerpc/types.h                          |    1 
 asm-powerpc/unistd.h                         |    1 
 asm-powerpc/vga.h                            |    1 
 asm-powerpc/vio.h                            |    1 
 asm-ppc/amigahw.h                            |    1 
 asm-ppc/bootinfo.h                           |    1 
 asm-ppc/commproc.h                           |    1 
 asm-ppc/ibm403.h                             |    1 
 asm-ppc/ibm44x.h                             |    1 
 asm-ppc/ibm4xx.h                             |    1 
 asm-ppc/io.h                                 |    1 
 asm-ppc/machdep.h                            |    1 
 asm-ppc/mmu.h                                |    1 
 asm-ppc/mmu_context.h                        |    1 
 asm-ppc/mpc8260.h                            |    1 
 asm-ppc/mpc83xx.h                            |    1 
 asm-ppc/mpc85xx.h                            |    1 
 asm-ppc/mpc8xx.h                             |    1 
 asm-ppc/mv64x60.h                            |    1 
 asm-ppc/ocp.h                                |    1 
 asm-ppc/open_pic.h                           |    1 
 asm-ppc/page.h                               |    2 -
 asm-ppc/pc_serial.h                          |    1 
 asm-ppc/pgalloc.h                            |    1 
 asm-ppc/pgtable.h                            |    1 
 asm-ppc/ppc4xx_dma.h                         |    1 
 asm-ppc/ppc4xx_pic.h                         |    1 
 asm-ppc/serial.h                             |    1 
 asm-ppc/smp.h                                |    1 
 asm-ppc/time.h                               |    1 
 asm-s390/bitops.h                            |    1 
 asm-s390/debug.h                             |    1 
 asm-s390/hardirq.h                           |    1 
 asm-s390/idals.h                             |    1 
 asm-s390/local.h                             |    1 
 asm-s390/lowcore.h                           |    1 
 asm-s390/pgalloc.h                           |    1 
 asm-s390/ptrace.h                            |    1 
 asm-s390/sfp-machine.h                       |    1 
 asm-s390/smp.h                               |    1 
 asm-s390/system.h                            |    1 
 asm-s390/tlbflush.h                          |    1 
 asm-s390/types.h                             |    1 
 asm-s390/unistd.h                            |    1 
 asm-sh/bug.h                                 |    1 
 asm-sh/checksum.h                            |    1 
 asm-sh/dma-mapping.h                         |    1 
 asm-sh/dma.h                                 |    1 
 asm-sh/fixmap.h                              |    1 
 asm-sh/hardirq.h                             |    1 
 asm-sh/hd64461/hd64461.h                     |    1 
 asm-sh/hd64465/hd64465.h                     |    1 
 asm-sh/ide.h                                 |    1 
 asm-sh/io.h                                  |    1 
 asm-sh/irq.h                                 |    1 
 asm-sh/keyboard.h                            |    1 
 asm-sh/kmap_types.h                          |    1 
 asm-sh/machvec.h                             |    1 
 asm-sh/machvec_init.h                        |    1 
 asm-sh/mpc1211/dma.h                         |    1 
 asm-sh/overdrive/overdrive.h                 |    1 
 asm-sh/page.h                                |    1 
 asm-sh/pgtable.h                             |    1 
 asm-sh/serial.h                              |    1 
 asm-sh/smp.h                                 |    1 
 asm-sh/system.h                              |    1 
 asm-sh/types.h                               |    1 
 asm-sh/watchdog.h                            |    1 
 asm-sh64/bug.h                               |    1 
 asm-sh64/dma-mapping.h                       |    1 
 asm-sh64/hardirq.h                           |    1 
 asm-sh64/ide.h                               |    1 
 asm-sh64/irq.h                               |    1 
 asm-sh64/mmu_context.h                       |    1 
 asm-sh64/page.h                              |    1 
 asm-sh64/param.h                             |    1 
 asm-sh64/pgtable.h                           |    1 
 asm-sh64/system.h                            |    1 
 asm-sparc/asmmacro.h                         |    1 
 asm-sparc/atomic.h                           |    1 
 asm-sparc/bugs.h                             |    1 
 asm-sparc/cacheflush.h                       |    1 
 asm-sparc/delay.h                            |    1 
 asm-sparc/dma-mapping.h                      |    1 
 asm-sparc/dma.h                              |    1 
 asm-sparc/elf.h                              |    1 
 asm-sparc/fixmap.h                           |    1 
 asm-sparc/hardirq.h                          |    1 
 asm-sparc/ide.h                              |    1 
 asm-sparc/irq.h                              |    1 
 asm-sparc/mostek.h                           |    1 
 asm-sparc/page.h                             |    1 
 asm-sparc/pgalloc.h                          |    1 
 asm-sparc/pgtable.h                          |    1 
 asm-sparc/sfp-machine.h                      |    1 
 asm-sparc/smp.h                              |    1 
 asm-sparc/system.h                           |    2 -
 asm-sparc/timer.h                            |    1 
 asm-sparc/tlbflush.h                         |    1 
 asm-sparc/vac-ops.h                          |    1 
 asm-sparc/winmacro.h                         |    1 
 asm-sparc64/atomic.h                         |    1 
 asm-sparc64/bitops.h                         |    1 
 asm-sparc64/bugs.h                           |    1 
 asm-sparc64/cacheflush.h                     |    1 
 asm-sparc64/delay.h                          |    1 
 asm-sparc64/dma-mapping.h                    |    1 
 asm-sparc64/dma.h                            |    1 
 asm-sparc64/floppy.h                         |    1 
 asm-sparc64/ide.h                            |    1 
 asm-sparc64/irq.h                            |    1 
 asm-sparc64/kprobes.h                        |    1 
 asm-sparc64/mc146818rtc.h                    |    1 
 asm-sparc64/mmu.h                            |    1 
 asm-sparc64/oplib.h                          |    1 
 asm-sparc64/page.h                           |    1 
 asm-sparc64/param.h                          |    1 
 asm-sparc64/pgalloc.h                        |    1 
 asm-sparc64/pgtable.h                        |    1 
 asm-sparc64/processor.h                      |    1 
 asm-sparc64/siginfo.h                        |    1 
 asm-sparc64/signal.h                         |    1 
 asm-sparc64/smp.h                            |    1 
 asm-sparc64/spinlock.h                       |    1 
 asm-sparc64/system.h                         |    1 
 asm-sparc64/timer.h                          |    1 
 asm-sparc64/tlb.h                            |    1 
 asm-sparc64/tlbflush.h                       |    1 
 asm-sparc64/ttable.h                         |    1 
 asm-um/a.out.h                               |    1 
 asm-um/cache.h                               |    1 
 asm-um/elf-ppc.h                             |    1 
 asm-um/fixmap.h                              |    1 
 asm-um/hardirq.h                             |    1 
 asm-um/linkage.h                             |    1 
 asm-um/mmu_context.h                         |    1 
 asm-um/page.h                                |    1 
 asm-um/pgalloc.h                             |    1 
 asm-um/processor-generic.h                   |    1 
 asm-um/ptrace-generic.h                      |    1 
 asm-um/smp.h                                 |    1 
 asm-um/thread_info.h                         |    1 
 asm-v850/atomic.h                            |    1 
 asm-v850/bitops.h                            |    1 
 asm-v850/dma-mapping.h                       |    1 
 asm-v850/hardirq.h                           |    1 
 asm-v850/machdep.h                           |    1 
 asm-v850/pgtable.h                           |    1 
 asm-v850/processor.h                         |    1 
 asm-v850/serial.h                            |    1 
 asm-v850/v850e_uart.h                        |    1 
 asm-x86_64/apic.h                            |    1 
 asm-x86_64/atomic.h                          |    1 
 asm-x86_64/bitops.h                          |    1 
 asm-x86_64/bugs.h                            |    1 
 asm-x86_64/cache.h                           |    1 
 asm-x86_64/calling.h                         |    1 
 asm-x86_64/dma-mapping.h                     |    1 
 asm-x86_64/dma.h                             |    1 
 asm-x86_64/dwarf2.h                          |    1 
 asm-x86_64/fixmap.h                          |    1 
 asm-x86_64/hardirq.h                         |    1 
 asm-x86_64/hw_irq.h                          |    1 
 asm-x86_64/ia32.h                            |    1 
 asm-x86_64/io.h                              |    1 
 asm-x86_64/io_apic.h                         |    1 
 asm-x86_64/mmu_context.h                     |    1 
 asm-x86_64/mmzone.h                          |    1 
 asm-x86_64/mtrr.h                            |    1 
 asm-x86_64/page.h                            |    1 
 asm-x86_64/param.h                           |    1 
 asm-x86_64/pci.h                             |    1 
 asm-x86_64/processor.h                       |    1 
 asm-x86_64/serial.h                          |    1 
 asm-x86_64/smp.h                             |    1 
 asm-x86_64/spinlock.h                        |    1 
 asm-x86_64/swiotlb.h                         |    1 
 asm-x86_64/system.h                          |    1 
 asm-x86_64/tlbflush.h                        |    1 
 asm-x86_64/topology.h                        |    1 
 asm-x86_64/uaccess.h                         |    1 
 asm-xtensa/atomic.h                          |    1 
 asm-xtensa/checksum.h                        |    1 
 asm-xtensa/delay.h                           |    1 
 asm-xtensa/dma.h                             |    1 
 asm-xtensa/hardirq.h                         |    1 
 asm-xtensa/ide.h                             |    1 
 asm-xtensa/io.h                              |    1 
 asm-xtensa/irq.h                             |    1 
 asm-xtensa/mmu_context.h                     |    1 
 asm-xtensa/page.h                            |    1 
 asm-xtensa/pgalloc.h                         |    1 
 asm-xtensa/platform.h                        |    1 
 asm-xtensa/system.h                          |    1 
 linux/acct.h                                 |    3 --
 linux/acpi.h                                 |    1 
 linux/agpgart.h                              |    3 --
 linux/amba/clcd.h                            |    1 
 linux/atmdev.h                               |    1 
 linux/blkdev.h                               |    1 
 linux/blktrace_api.h                         |    1 
 linux/blockgroup_lock.h                      |    1 
 linux/cache.h                                |    1 
 linux/coda.h                                 |    1 
 linux/compat.h                               |    1 
 linux/cpufreq.h                              |    1 
 linux/crypto.h                               |    1 
 linux/cyclomx.h                              |    1 
 linux/dcookies.h                             |    1 
 linux/devfs_fs_kernel.h                      |    1 
 linux/device.h                               |    1 
 linux/dmi.h                                  |    1 
 linux/dnotify.h                              |    1 
 linux/errqueue.h                             |    1 
 linux/ext2_fs.h                              |    2 -
 linux/ext3_fs.h                              |    7 +---
 linux/fs.h                                   |    1 
 linux/ftape.h                                |    1 
 linux/gameport.h                             |    6 ++++
 linux/generic_serial.h                       |    6 ++--
 linux/genhd.h                                |   12 ++++----
 linux/gfp.h                                  |    1 
 linux/hardirq.h                              |    1 
 linux/highmem.h                              |    1 
 linux/highuid.h                              |    1 
 linux/i2c-algo-ite.h                         |    7 +++-
 linux/i2c.h                                  |    9 ++++--
 linux/ide.h                                  |    1 
 linux/if_frad.h                              |    1 
 linux/if_tr.h                                |    1 
 linux/init.h                                 |    1 
 linux/inotify.h                              |    1 
 linux/interrupt.h                            |    1 
 linux/ipmi.h                                 |    2 -
 linux/ipv6.h                                 |    1 
 linux/irq.h                                  |    1 
 linux/irq_cpustat.h                          |    1 
 linux/isapnp.h                               |    1 
 linux/isdn.h                                 |    1 
 linux/isdn/tpam.h                            |    1 
 linux/isdn_ppp.h                             |    1 
 linux/isdnif.h                               |    1 
 linux/kallsyms.h                             |    1 
 linux/kernel_stat.h                          |    1 
 linux/kmod.h                                 |    1 
 linux/kprobes.h                              |    1 
 linux/linkage.h                              |    1 
 linux/lockd/lockd.h                          |    1 
 linux/lockd/nlm.h                            |    1 
 linux/mempolicy.h                            |    1 
 linux/migrate.h                              |    1 
 linux/mm.h                                   |    1 
 linux/mman.h                                 |   12 ++++----
 linux/mmzone.h                               |    1 
 linux/module.h                               |    1 
 linux/msg.h                                  |    2 -
 linux/mtd/cfi.h                              |    1 
 linux/mtd/map.h                              |    1 
 linux/mtd/mtd.h                              |    1 
 linux/mtd/nand.h                             |    1 
 linux/mtd/physmap.h                          |    1 
 linux/mtd/xip.h                              |    1 
 linux/ncp_fs.h                               |    5 +--
 linux/net.h                                  |    3 --
 linux/netdevice.h                            |    1 
 linux/netfilter.h                            |    1 
 linux/netfilter_arp.h                        |    1 
 linux/netfilter_bridge.h                     |    1 
 linux/netfilter_ipv4.h                       |    1 
 linux/netfilter_ipv4/ip_conntrack.h          |    1 
 linux/netfilter_ipv4/listhelp.h              |    1 
 linux/nfs.h                                  |    8 ++---
 linux/nfs4.h                                 |    6 ++--
 linux/nfs_fs.h                               |   39 +++++++++++++--------------
 linux/nfsd/nfsd.h                            |    1 
 linux/nfsd/nfsfh.h                           |    1 
 linux/nfsd/syscall.h                         |    1 
 linux/numa.h                                 |    1 
 linux/parport.h                              |    1 
 linux/pci.h                                  |    1 
 linux/percpu_counter.h                       |    1 
 linux/pm.h                                   |    1 
 linux/pm_legacy.h                            |    1 
 linux/pmu.h                                  |    1 
 linux/preempt.h                              |    1 
 linux/proc_fs.h                              |    1 
 linux/profile.h                              |    1 
 linux/quota.h                                |    4 +-
 linux/quotaops.h                             |    1 
 linux/reiserfs_xattr.h                       |    3 --
 linux/relay.h                                |    1 
 linux/rio.h                                  |    1 
 linux/rio_drv.h                              |    1 
 linux/rmap.h                                 |    1 
 linux/rtnetlink.h                            |    1 
 linux/rwsem.h                                |    1 
 linux/scc.h                                  |    1 
 linux/sched.h                                |   18 ++++++------
 linux/seccomp.h                              |    1 
 linux/sem.h                                  |    2 -
 linux/seqlock.h                              |    1 
 linux/serialP.h                              |    1 
 linux/serial_core.h                          |    1 
 linux/signal.h                               |    4 +-
 linux/skbuff.h                               |    1 
 linux/slab.h                                 |    1 
 linux/smb_fs.h                               |    4 +-
 linux/smp.h                                  |    1 
 linux/smp_lock.h                             |    1 
 linux/socket.h                               |    2 -
 linux/spinlock.h                             |    1 
 linux/stop_machine.h                         |    1 
 linux/sunrpc/auth.h                          |    1 
 linux/sunrpc/debug.h                         |   24 +++++++---------
 linux/sunrpc/stats.h                         |    1 
 linux/suspend.h                              |    1 
 linux/swap.h                                 |    1 
 linux/syscalls.h                             |    1 
 linux/sysrq.h                                |    1 
 linux/tcp.h                                  |    1 
 linux/threads.h                              |    1 
 linux/timer.h                                |    1 
 linux/timex.h                                |    1 
 linux/tty.h                                  |    1 
 linux/types.h                                |    1 
 linux/udp.h                                  |    1 
 linux/usb.h                                  |    1 
 linux/usb_usual.h                            |    1 
 linux/usbdevice_fs.h                         |    2 +
 linux/vt_buffer.h                            |    1 
 linux/vt_kern.h                              |    1 
 linux/wait.h                                 |    1 
 linux/wanrouter.h                            |    4 +-
 mtd/mtd-abi.h                                |    5 ++-
 net/addrconf.h                               |    1 
 net/af_unix.h                                |    1 
 net/ax25.h                                   |    1 
 net/compat.h                                 |    1 
 net/dst.h                                    |    1 
 net/icmp.h                                   |    1 
 net/inet6_hashtables.h                       |    1 
 net/inet_hashtables.h                        |    1 
 net/inet_sock.h                              |    1 
 net/inet_timewait_sock.h                     |    1 
 net/ip.h                                     |    1 
 net/ip_fib.h                                 |    1 
 net/ip_mp_alg.h                              |    1 
 net/ip_vs.h                                  |    1 
 net/ipv6.h                                   |    1 
 net/irda/irda.h                              |    1 
 net/irda/irda_device.h                       |    1 
 net/irda/irlap.h                             |    1 
 net/irda/irlmp.h                             |    1 
 net/irda/irlmp_frame.h                       |    1 
 net/irda/qos.h                               |    1 
 net/ndisc.h                                  |    1 
 net/netfilter/nf_conntrack.h                 |    1 
 net/pkt_act.h                                |    1 
 net/protocol.h                               |    1 
 net/raw.h                                    |    1 
 net/red.h                                    |    1 
 net/route.h                                  |    1 
 net/sch_generic.h                            |    1 
 net/sctp/sctp.h                              |    1 
 net/sock.h                                   |    1 
 net/tcp.h                                    |    1 
 pcmcia/ss.h                                  |    1 
 scsi/scsi_transport_fc.h                     |    1 
 scsi/scsi_transport_spi.h                    |    1 
 sound/driver.h                               |    1 
 video/edid.h                                 |    1 
 video/vga.h                                  |    1 
 861 files changed, 109 insertions(+), 937 deletions(-)

--- NEW FILE linux-2.6-header-cleanup-git.patch ---
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 2e6d545..3c6a620 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -49,7 +49,6 @@ #define ACPI_USE_DO_WHILE_0
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/ctype.h>
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index badf027..ef7d83a 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -2,7 +2,6 @@ #ifndef __ACPI_PROCESSOR_H
 #define __ACPI_PROCESSOR_H
 
 #include <linux/kernel.h>
-#include <linux/config.h>
 
 #include <asm/acpi.h>
 
diff --git a/include/asm-alpha/bitops.h b/include/asm-alpha/bitops.h
index 3f88715..4b6ef7f 100644
--- a/include/asm-alpha/bitops.h
+++ b/include/asm-alpha/bitops.h
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_BITOPS_H
 #define _ALPHA_BITOPS_H
 
-#include <linux/config.h>
 #include <asm/compiler.h>
 
 /*
diff --git a/include/asm-alpha/cache.h b/include/asm-alpha/cache.h
index e6d4d16..f199e69 100644
--- a/include/asm-alpha/cache.h
+++ b/include/asm-alpha/cache.h
@@ -4,7 +4,6 @@
 #ifndef __ARCH_ALPHA_CACHE_H
 #define __ARCH_ALPHA_CACHE_H
 
-#include <linux/config.h>
 
 /* Bytes per L1 (data) cache line. */
 #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6)
diff --git a/include/asm-alpha/cacheflush.h b/include/asm-alpha/cacheflush.h
index 3fc6ef7..805640b 100644
--- a/include/asm-alpha/cacheflush.h
+++ b/include/asm-alpha/cacheflush.h
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_CACHEFLUSH_H
 #define _ALPHA_CACHEFLUSH_H
 
-#include <linux/config.h>
 #include <linux/mm.h>
 
 /* Caches aren't brain-dead on the Alpha. */
diff --git a/include/asm-alpha/core_cia.h b/include/asm-alpha/core_cia.h
index 3a70d68..9e0516c 100644
--- a/include/asm-alpha/core_cia.h
+++ b/include/asm-alpha/core_cia.h
@@ -4,7 +4,6 @@ #define __ALPHA_CIA__H__
 /* Define to experiment with fitting everything into one 512MB HAE window.  */
 #define CIA_ONE_HAE_WINDOW 1
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <asm/compiler.h>
 
diff --git a/include/asm-alpha/core_t2.h b/include/asm-alpha/core_t2.h
index 5c1c403..dba70c6 100644
--- a/include/asm-alpha/core_t2.h
+++ b/include/asm-alpha/core_t2.h
@@ -1,7 +1,6 @@
 #ifndef __ALPHA_T2__H__
 #define __ALPHA_T2__H__
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/spinlock.h>
 #include <asm/compiler.h>
diff --git a/include/asm-alpha/dma-mapping.h b/include/asm-alpha/dma-mapping.h
index 62d0d66..b9ff4d8 100644
--- a/include/asm-alpha/dma-mapping.h
+++ b/include/asm-alpha/dma-mapping.h
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_DMA_MAPPING_H
 #define _ALPHA_DMA_MAPPING_H
 
-#include <linux/config.h>
 
 #ifdef CONFIG_PCI
 
diff --git a/include/asm-alpha/dma.h b/include/asm-alpha/dma.h
index 683afaa..87cfdbd 100644
--- a/include/asm-alpha/dma.h
+++ b/include/asm-alpha/dma.h
@@ -18,7 +18,6 @@
 #ifndef _ASM_DMA_H
 #define _ASM_DMA_H
 
-#include <linux/config.h>
 #include <linux/spinlock.h>
 #include <asm/io.h>
 
diff --git a/include/asm-alpha/floppy.h b/include/asm-alpha/floppy.h
index 289a00d..e177d41 100644
--- a/include/asm-alpha/floppy.h
+++ b/include/asm-alpha/floppy.h
@@ -10,7 +10,6 @@
 #ifndef __ASM_ALPHA_FLOPPY_H
 #define __ASM_ALPHA_FLOPPY_H
 
-#include <linux/config.h>
 
 #define fd_inb(port)			inb_p(port)
 #define fd_outb(value,port)		outb_p(value,port)
diff --git a/include/asm-alpha/hardirq.h b/include/asm-alpha/hardirq.h
index 7bb6a36..d953e23 100644
--- a/include/asm-alpha/hardirq.h
+++ b/include/asm-alpha/hardirq.h
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_HARDIRQ_H
 #define _ALPHA_HARDIRQ_H
 
-#include <linux/config.h>
 #include <linux/threads.h>
 #include <linux/cache.h>
 
diff --git a/include/asm-alpha/hw_irq.h b/include/asm-alpha/hw_irq.h
index a310b9e..ca9d43b 100644
--- a/include/asm-alpha/hw_irq.h
+++ b/include/asm-alpha/hw_irq.h
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_HW_IRQ_H
 #define _ALPHA_HW_IRQ_H
 
-#include <linux/config.h>
 
 static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {}
 
diff --git a/include/asm-alpha/ide.h b/include/asm-alpha/ide.h
index 6126afe..2a5cc0b 100644
--- a/include/asm-alpha/ide.h
+++ b/include/asm-alpha/ide.h
@@ -13,7 +13,6 @@ #define __ASMalpha_IDE_H
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 
 #define IDE_ARCH_OBSOLETE_DEFAULTS
 
diff --git a/include/asm-alpha/io.h b/include/asm-alpha/io.h
index 3ebbeee..f5ae98c 100644
--- a/include/asm-alpha/io.h
+++ b/include/asm-alpha/io.h
@@ -3,7 +3,6 @@ #define __ALPHA_IO_H
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <asm/compiler.h>
 #include <asm/system.h>
diff --git a/include/asm-alpha/irq.h b/include/asm-alpha/irq.h
index 566db72..f6de033 100644
--- a/include/asm-alpha/irq.h
+++ b/include/asm-alpha/irq.h
@@ -8,7 +8,6 @@ #define _ALPHA_IRQ_H
  */
 
 #include <linux/linkage.h>
-#include <linux/config.h>
 
 #if   defined(CONFIG_ALPHA_GENERIC)
 
diff --git a/include/asm-alpha/kmap_types.h b/include/asm-alpha/kmap_types.h
index 3d10cd3..3e6735a 100644
--- a/include/asm-alpha/kmap_types.h
+++ b/include/asm-alpha/kmap_types.h
@@ -3,7 +3,6 @@ #define _ASM_KMAP_TYPES_H
 
 /* Dummy header just to define km_type. */
 
-#include <linux/config.h>
 
 #ifdef CONFIG_DEBUG_HIGHMEM
 # define D(n) __KM_FENCE_##n ,
diff --git a/include/asm-alpha/machvec.h b/include/asm-alpha/machvec.h
index ece166a..aced22f 100644
--- a/include/asm-alpha/machvec.h
+++ b/include/asm-alpha/machvec.h
@@ -1,7 +1,6 @@
 #ifndef __ALPHA_MACHVEC_H
 #define __ALPHA_MACHVEC_H 1
[...10397 lines suppressed...]
@@ -37,7 +37,6 @@ #define ND_MAX_RANDOM_FACTOR		(3/2)
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/compiler.h>
 #include <linux/icmpv6.h>
 #include <linux/in6.h>
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h
index 916013c..fc00aa3 100644
--- a/include/net/netfilter/nf_conntrack.h
+++ b/include/net/netfilter/nf_conntrack.h
@@ -15,7 +15,6 @@ #define _NF_CONNTRACK_H
 #include <linux/netfilter/nf_conntrack_common.h>
 
 #ifdef __KERNEL__
-#include <linux/config.h>
 #include <linux/bitops.h>
 #include <linux/compiler.h>
 #include <asm/atomic.h>
diff --git a/include/net/pkt_act.h b/include/net/pkt_act.h
index b225d84..cf5e4d2 100644
--- a/include/net/pkt_act.h
+++ b/include/net/pkt_act.h
@@ -4,7 +4,6 @@ #define __NET_PKT_ACT_H
 #include <asm/uaccess.h>
 #include <asm/system.h>
 #include <linux/bitops.h>
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
diff --git a/include/net/protocol.h b/include/net/protocol.h
index 6dc5970..bcaee39 100644
--- a/include/net/protocol.h
+++ b/include/net/protocol.h
@@ -24,7 +24,6 @@
 #ifndef _PROTOCOL_H
 #define _PROTOCOL_H
 
-#include <linux/config.h>
 #include <linux/in6.h>
 #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
 #include <linux/ipv6.h>
diff --git a/include/net/raw.h b/include/net/raw.h
index e67b28a..481b201 100644
--- a/include/net/raw.h
+++ b/include/net/raw.h
@@ -17,7 +17,6 @@
 #ifndef _RAW_H
 #define _RAW_H
 
-#include <linux/config.h>
 
 #include <net/protocol.h>
 
diff --git a/include/net/red.h b/include/net/red.h
index 2ed4358..5ccdbb3 100644
--- a/include/net/red.h
+++ b/include/net/red.h
@@ -1,7 +1,6 @@
 #ifndef __NET_SCHED_RED_H
 #define __NET_SCHED_RED_H
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <net/pkt_sched.h>
 #include <net/inet_ecn.h>
diff --git a/include/net/route.h b/include/net/route.h
index 98c915a..c4a0686 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -24,7 +24,6 @@
 #ifndef _ROUTE_H
 #define _ROUTE_H
 
-#include <linux/config.h>
 #include <net/dst.h>
 #include <net/inetpeer.h>
 #include <net/flow.h>
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 7b6ec99..b0e9108 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -1,7 +1,6 @@
 #ifndef __NET_SCHED_GENERIC_H
 #define __NET_SCHED_GENERIC_H
 
-#include <linux/config.h>
 #include <linux/netdevice.h>
 #include <linux/types.h>
 #include <linux/rcupdate.h>
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index e673b2c..9c30fa5 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -63,7 +63,6 @@ #define __net_sctp_h__
  */
 
 
-#include <linux/config.h>
 
 #ifdef TEST_FRAME
 #undef CONFIG_PROC_FS
diff --git a/include/net/sock.h b/include/net/sock.h
index ff8b0da..d8a5d87 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -40,7 +40,6 @@
 #ifndef _SOCK_H
 #define _SOCK_H
 
-#include <linux/config.h>
 #include <linux/list.h>
 #include <linux/timer.h>
 #include <linux/cache.h>
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 3c989db..9e88dcd 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -21,7 +21,6 @@ #define _TCP_H
 #define TCP_DEBUG 1
 #define FASTRETRANS_DEBUG 1
 
-#include <linux/config.h>
 #include <linux/list.h>
 #include <linux/tcp.h>
 #include <linux/slab.h>
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index 5e0a01a..ede6398 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -15,7 +15,6 @@
 #ifndef _LINUX_SS_H
 #define _LINUX_SS_H
 
-#include <linux/config.h>
 #include <linux/device.h>
 #include <linux/sched.h>	/* task_struct, completion */
 #include <linux/mutex.h>
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h
index 5626225..6d28b03 100644
--- a/include/scsi/scsi_transport_fc.h
+++ b/include/scsi/scsi_transport_fc.h
@@ -27,7 +27,6 @@
 #ifndef SCSI_TRANSPORT_FC_H
 #define SCSI_TRANSPORT_FC_H
 
-#include <linux/config.h>
 #include <linux/sched.h>
 #include <scsi/scsi.h>
 
diff --git a/include/scsi/scsi_transport_spi.h b/include/scsi/scsi_transport_spi.h
index 5e1d619..302680c 100644
--- a/include/scsi/scsi_transport_spi.h
+++ b/include/scsi/scsi_transport_spi.h
@@ -20,7 +20,6 @@
 #ifndef SCSI_TRANSPORT_SPI_H
 #define SCSI_TRANSPORT_SPI_H
 
-#include <linux/config.h>
 #include <linux/transport_class.h>
 #include <linux/mutex.h>
 
diff --git a/include/sound/driver.h b/include/sound/driver.h
index 89c6a73..3c522e5 100644
--- a/include/sound/driver.h
+++ b/include/sound/driver.h
@@ -26,7 +26,6 @@ #ifdef ALSA_BUILD
 #include "config.h"
 #endif
 
-#include <linux/config.h>
 
 /* number of supported soundcards */
 #ifdef CONFIG_SND_DYNAMIC_MINORS
diff --git a/include/video/edid.h b/include/video/edid.h
index b913f19..f6a42d6 100644
--- a/include/video/edid.h
+++ b/include/video/edid.h
@@ -3,7 +3,6 @@ #define __linux_video_edid_h__
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 
 #ifdef CONFIG_X86
 struct edid_info {
diff --git a/include/video/vga.h b/include/video/vga.h
index 700d6c8..b49a512 100644
--- a/include/video/vga.h
+++ b/include/video/vga.h
@@ -17,7 +17,6 @@
 #ifndef __linux_video_vga_h__
 #define __linux_video_vga_h__
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <asm/io.h>
 #ifndef CONFIG_AMIGA

linux-2.6-header-install-git.patch:
 Makefile                              |   17 ++++
 include/Kbuild                        |    2 
 include/asm-alpha/Kbuild              |    9 ++
 include/asm-arm/Kbuild                |    7 ++
 include/asm-arm26/Kbuild              |    8 ++
 include/asm-cris/Kbuild               |    6 +
 include/asm-cris/arch-v10/Kbuild      |    3 
 include/asm-generic/Kbuild            |    3 
 include/asm-generic/Kbuild.asm        |   11 +++
 include/asm-h8300/Kbuild              |    6 +
 include/asm-i386/Kbuild               |    5 +
 include/asm-ia64/Kbuild               |    6 +
 include/asm-m32r/Kbuild               |    7 ++
 include/asm-m68k/Kbuild               |   17 ++++
 include/asm-m68knommu/Kbuild          |   12 +++
 include/asm-mips/Kbuild               |   15 ++++
 include/asm-parisc/Kbuild             |    8 ++
 include/asm-powerpc/Kbuild            |   10 ++
 include/asm-ppc/Kbuild                |    8 ++
 include/asm-s390/Kbuild               |    4 +
 include/asm-sh/Kbuild                 |    6 +
 include/asm-sh64/Kbuild               |    6 +
 include/asm-sparc/Kbuild              |   13 +++
 include/asm-sparc64/Kbuild            |   15 ++++
 include/asm-um/Kbuild                 |   14 ++++
 include/asm-v850/Kbuild               |   10 ++
 include/asm-x86_64/Kbuild             |   10 ++
 include/linux/Kbuild                  |   63 ++++++++++++++++++
 include/linux/byteorder/Kbuild        |    1 
 include/linux/dvb/Kbuild              |    2 
 include/linux/hdlc/Kbuild             |    1 
 include/linux/isdn/Kbuild             |    1 
 include/linux/netfilter/Kbuild        |   11 +++
 include/linux/netfilter_arp/Kbuild    |    2 
 include/linux/netfilter_bridge/Kbuild |    4 +
 include/linux/netfilter_ipv4/Kbuild   |   21 ++++++
 include/linux/netfilter_ipv6/Kbuild   |    5 +
 include/linux/nfsd/Kbuild             |    2 
 include/linux/raid/Kbuild             |    1 
 include/linux/sunrpc/Kbuild           |    1 
 include/linux/tc_act/Kbuild           |    1 
 include/linux/tc_ematch/Kbuild        |    1 
 include/media/Kbuild                  |    2 
 include/mtd/Kbuild                    |    2 
 include/rdma/Kbuild                   |    1 
 include/scsi/Kbuild                   |    2 
 include/sound/Kbuild                  |    2 
 include/video/Kbuild                  |    1 
 scripts/Makefile.headersinst          |  116 ++++++++++++++++++++++++++++++++++
 scripts/hdrcheck.sh                   |    8 ++
 50 files changed, 489 insertions(+)

--- NEW FILE linux-2.6-header-install-git.patch ---
diff --git a/Makefile b/Makefile
index a940eae..09a420f 100644
--- a/Makefile
+++ b/Makefile
@@ -858,6 +858,21 @@ depend dep:
 	@echo '*** Warning: make $@ is unnecessary now.'
 
 # ---------------------------------------------------------------------------
+# Kernel headers
+INSTALL_HDR_PATH=$(MODLIB)/abi
+export INSTALL_HDR_PATH
+
+.PHONY: headers_install
+headers_install: .kernelrelease
+	@unifdef -Ux /dev/null
+	@rm -rf $(INSTALL_HDR_PATH)
+	$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include
+
+.PHONY: headers_check
+headers_check: headers_install
+	$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1
+
+# ---------------------------------------------------------------------------
 # Modules
 
 ifdef CONFIG_MODULES
@@ -1029,6 +1044,8 @@ help:
 	@echo  '  cscope	  - Generate cscope index'
 	@echo  '  kernelrelease	  - Output the release version string'
 	@echo  '  kernelversion	  - Output the version stored in Makefile'
+	@echo  '  headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'
+	@echo  '                    (default: /usr/include)'
 	@echo  ''
 	@echo  'Static analysers'
 	@echo  '  checkstack      - Generate a list of stack hogs'
diff --git a/include/Kbuild b/include/Kbuild
new file mode 100644
index 0000000..ae01565
--- /dev/null
+++ b/include/Kbuild
@@ -0,0 +1,2 @@
+header-y += asm-generic/ linux/ scsi/ sound/ mtd/ rdma/ video/ media/
+header-y += asm-$(ARCH)/ 
diff --git a/include/asm-alpha/Kbuild b/include/asm-alpha/Kbuild
new file mode 100644
index 0000000..57ff88a
--- /dev/null
+++ b/include/asm-alpha/Kbuild
@@ -0,0 +1,9 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += 8253pit.h agp.h agp_backend.h compiler.h console.h core_apecs.h \
+	core_cia.h core_irongate.h core_lca.h core_marvel.h core_mcpcia.h \
+	core_polaris.h core_t2.h core_titan.h core_tsunami.h core_wildfire.h \
+	err_common.h err_ev6.h err_ev7.h floppy.h fpu.h gct.h gentrap.h \
+	hdreg.h hw_irq.h hwrpb.h init.h jensen.h md.h numnodes.h pal.h \
+	parport.h pci.h reg.h regdef.h segment.h serial.h sfp-machine.h \
+	spinlock.h suspend.h sysinfo.h ucontext.h vga.h
diff --git a/include/asm-arm/Kbuild b/include/asm-arm/Kbuild
new file mode 100644
index 0000000..fad30e6
--- /dev/null
+++ b/include/asm-arm/Kbuild
@@ -0,0 +1,7 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += apm.h assembler.h cpu-multi32.h cpu-single.h domain.h ecard.h \
+	fiq.h floppy.h fpstate.h hardware.h hdreg.h ipc.h leds.h limits.h \
+	locks.h memory.h numnodes.h nwflash.h parport.h procinfo.h \
+	segment.h semaphore-helper.h serial.h sizes.h spinlock.h suspend.h \
+	therm.h traps.h ucontext.h vga.h
diff --git a/include/asm-arm26/Kbuild b/include/asm-arm26/Kbuild
new file mode 100644
index 0000000..8590f0b
--- /dev/null
+++ b/include/asm-arm26/Kbuild
@@ -0,0 +1,8 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += assembler.h calls.h constants.h ecard.h fiq.h floppy.h fpstate.h \
+	hardware.h hdreg.h ian_char.h ioc.h ipc.h irqchip.h leds.h limits.h \
+	linux_logo.h locks.h mach-types.h map.h memory.h oldlatches.h \
+	parport.h proc-fns.h procinfo.h segment.h semaphore-helper.h \
+	serial.h sizes.h spinlock.h suspend.h sysirq.h ucontext.h \
+	uncompress.h
diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild
new file mode 100644
index 0000000..8480c8a
--- /dev/null
+++ b/include/asm-cris/Kbuild
@@ -0,0 +1,6 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += axisflashmap.h eshlibld.h ethernet.h etraxgpio.h etraxi2c.h \
+	fasttimer.h ipc.h rs485.h segment.h semaphore-helper.h ucontext.h
+
+header-y += arch-v10/
diff --git a/include/asm-cris/arch-v10/Kbuild b/include/asm-cris/arch-v10/Kbuild
new file mode 100644
index 0000000..1837529
--- /dev/null
+++ b/include/asm-cris/arch-v10/Kbuild
@@ -0,0 +1,3 @@
+header-y += bitops.h cache.h checksum.h dma.h elf.h io.h irq.h mmu.h \
+	offset.h processor.h ptrace.h sv_addr_ag.h svinto.h system.h \
+	timex.h unistd.h user.h
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
new file mode 100644
index 0000000..fb44933
--- /dev/null
+++ b/include/asm-generic/Kbuild
@@ -0,0 +1,3 @@
+header-y += errno-base.h errno.h fcntl.h ipc.h mman.h signal.h	\
+	statfs.h
+unifdef-y := resource.h siginfo.h
diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
new file mode 100644
index 0000000..9e8ae58
--- /dev/null
+++ b/include/asm-generic/Kbuild.asm
@@ -0,0 +1,11 @@
+unifdef-y += a.out.h auxvec.h errno.h fcntl.h ioctl.h ioctls.h ipcbuf.h	\
+	irq.h mman.h mmu.h msgbuf.h param.h poll.h posix_types.h	\
+	ptrace.h resource.h semaphore.h sembuf.h shmbuf.h shmparam.h	\
+	sigcontext.h siginfo.h signal.h socket.h sockios.h stat.h	\
+	statfs.h termbits.h termios.h timex.h types.h unistd.h user.h
+
+# These really shouldn't be exported
+unifdef-y += atomic.h byteorder.h io.h
+
+# There probably shouldn't be exported
+unifdef-y += elf.h page.h
diff --git a/include/asm-h8300/Kbuild b/include/asm-h8300/Kbuild
new file mode 100644
index 0000000..a45477a
--- /dev/null
+++ b/include/asm-h8300/Kbuild
@@ -0,0 +1,6 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += cachectl.h dbg.h flat.h fpu.h gpio.h h8300_ne.h hdreg.h \
+	hw_irq.h init.h ipc.h keyboard.h linux_logo.h md.h \
+	page_offset.h segment.h semaphore-helper.h sh_bios.h shm.h \
+	spinlock.h target_time.h traps.h ucontext.h
diff --git a/include/asm-i386/Kbuild b/include/asm-i386/Kbuild
new file mode 100644
index 0000000..5e952fd
--- /dev/null
+++ b/include/asm-i386/Kbuild
@@ -0,0 +1,5 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += boot.h cpufeature.h debugreg.h kprobes.h ldt.h setup.h ucontext.h
+
+unifdef-y += mtrr.h vm86.h
diff --git a/include/asm-ia64/Kbuild b/include/asm-ia64/Kbuild
new file mode 100644
index 0000000..e1200f3
--- /dev/null
+++ b/include/asm-ia64/Kbuild
@@ -0,0 +1,6 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += break.h fwspa.h fpu.h ia64regs.h kprobes.h perfmon_default_smpl.h \
+	 ptrace_offsets.h rse.h setup.h ucontext.h
+
+unifdef-y += perfmon.h
diff --git a/include/asm-m32r/Kbuild b/include/asm-m32r/Kbuild
new file mode 100644
index 0000000..d3f0f99
--- /dev/null
+++ b/include/asm-m32r/Kbuild
@@ -0,0 +1,7 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += addrspace.h assembler.h bugs.h cachectl.h current.h delay.h \
+	div64.h flat.h hdreg.h hw_irq.h ipc.h kmap_types.h m32102.h \
+	m32102peri.h m32r.h m32r_mp_fpga.h mc146818rtc.h mmzone.h \
+	numnodes.h pgtable-2level.h rtc.h scatterlist.h segment.h serial.h \
+	setup.h smp.h spinlock.h string.h syscall.h ucontext.h vga.h
diff --git a/include/asm-m68k/Kbuild b/include/asm-m68k/Kbuild
new file mode 100644
index 0000000..48881b3
--- /dev/null
+++ b/include/asm-m68k/Kbuild
@@ -0,0 +1,17 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += adb.h adb_iop.h adb_mouse.h amigahw.h amigaints.h amigayle.h \
+	amipcmcia.h apollodma.h apollohw.h atafd.h atafdreg.h \
+	atari_SCCserial.h atari_SLM.h atari_acsi.h atari_joystick.h \
+	atari_stdma.h atari_stram.h atarihw.h atariints.h atarikb.h \
+	blinken.h bvme6000hw.h cachectl.h contregs.h dsp56k.h dvma.h \
+	entry.h fbio.h floppy.h fpu.h hdreg.h hw_irq.h hwtest.h \
+	idprom.h init.h intersil.h ipc.h kbio.h mac_asc.h mac_baboon.h\
+	mac_iop.h mac_mouse.h mac_oss.h mac_psc.h mac_via.h machdep.h \
+	machines.h machw.h macintosh.h macints.h math-emu.h md.h \
+	motorola_pgalloc.h movs.h mvme147hw.h mvme16xhw.h nubus.h \
+	openprom.h oplib.h page_offset.h parport.h q40_master.h \
+	q40ints.h sbus.h segment.h semaphore-helper.h serial.h shm.h \
+	spinlock.h sun3-head.h sun3_pgalloc.h sun3ints.h sun3mmu.h \
+	sun3x.h sun3xflop.h sun3xprom.h suspend.h swim_iop.h traps.h \
+	ucontext.h vuid_event.h
diff --git a/include/asm-m68knommu/Kbuild b/include/asm-m68knommu/Kbuild
new file mode 100644
index 0000000..d91668d
--- /dev/null
+++ b/include/asm-m68knommu/Kbuild
@@ -0,0 +1,12 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += MC68328.h MC68332.h MC68EZ328.h MC68VZ328.h anchor.h \
+	asm-offsets.h bootstd.h cachectl.h coldfire.h commproc.h dbg.h \
+	elia.h entry.h flat.h fpu.h hdreg.h hwtest.h init.h io_hw_swap.h \
+	ipc.h keyboard.h m5206sim.h m5249sim.h m5272sim.h m5282sim.h \
+	m5307sim.h m5407sim.h m68360.h m68360_enet.h m68360_pram.h \
+	m68360_quicc.h m68360_regs.h machdep.h math-emu.h mcfdma.h \
+	mcfmbus.h mcfne.h mcfpci.h mcfpit.h mcfsim.h mcfsmc.h mcftimer.h \
+	mcfuart.h mcfwdebug.h md.h movs.h nap.h nettel.h openprom.h \
+	oplib.h page_offset.h quicc_simple.h segment.h semaphore-helper.h \
+	semp3.h shglcore.h shglports.h shm.h spinlock.h traps.h ucontext.h
diff --git a/include/asm-mips/Kbuild b/include/asm-mips/Kbuild
new file mode 100644
index 0000000..e19ec09
--- /dev/null
+++ b/include/asm-mips/Kbuild
@@ -0,0 +1,15 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += 8253pit.h addrspace.h asm.h asmmacro-32.h asmmacro-64.h \
+	asmmacro.h bcache.h branch.h break.h cachectl.h cacheops.h \
+	compat.h compiler.h cpu.h cpu-info.h ddb5074.h debug.h \
+	ds1286.h fixmap.h floppy.h fpregdef.h fpu_emulator.h \
+	gdb-stub.h gfx.h gt64120.h hdreg.h hw_irq.h i8259.h init.h \
+	inst.h interrupt.h inventory.h ipc.h irq_cpu.h \
+	isadep.h it8712.h jazz.h jazzdma.h m48t35.h mipsprom.h \
+	mipsregs.h msc01_ic.h ng1.h ng1hw.h nile4.h paccess.h parport.h \
+	pci_channel.h pgtable-32.h pgtable-64.h pgtable-bits.h prctl.h \
+	r4kcache.h reboot.h regdef.h riscos-syscall.h segment.h \
+	serial.h sgialib.h sgiarcs.h sgidefs.h sim.h sni.h spinlock.h \
+	stackframe.h suspend.h sysmips.h tlbdebug.h traps.h \
+	tx3912.h ucontext.h vga.h war.h watch.h wbflush.h
diff --git a/include/asm-parisc/Kbuild b/include/asm-parisc/Kbuild
new file mode 100644
index 0000000..b94e3f9
--- /dev/null
+++ b/include/asm-parisc/Kbuild
@@ -0,0 +1,8 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += asmregs.h assembly.h bootdata.h compat.h eisa_bus.h \
+	eisa_eeprom.h fixmap.h floppy.h grfioctl.h hardware.h hdreg.h \
+	hw_irq.h iosapic.h led.h machdep.h parisc-device.h parport.h \
+	parport_gsc.h pdc.h pdc_chassis.h pdcpat.h perf.h psw.h real.h \
+	rt_sigframe.h segment.h semaphore-helper.h serial.h som.h \
+	spinlock.h superio.h ucontext.h unwind.h
diff --git a/include/asm-powerpc/Kbuild b/include/asm-powerpc/Kbuild
new file mode 100644
index 0000000..ac61d7e
--- /dev/null
+++ b/include/asm-powerpc/Kbuild
@@ -0,0 +1,10 @@
+include include/asm-generic/Kbuild.asm
+
+unifdef-y += a.out.h asm-compat.h bootx.h byteorder.h cputable.h elf.h	\
+	nvram.h param.h posix_types.h ptrace.h seccomp.h signal.h	\
+	termios.h types.h unistd.h
+
+header-y += auxvec.h ioctls.h mman.h sembuf.h siginfo.h stat.h errno.h	\
+	ipcbuf.h msgbuf.h shmbuf.h socket.h termbits.h fcntl.h ipc.h	\
+	poll.h shmparam.h sockios.h ucontext.h ioctl.h linkage.h	\
+	resource.h sigcontext.h statfs.h
diff --git a/include/asm-ppc/Kbuild b/include/asm-ppc/Kbuild
new file mode 100644
index 0000000..58af928
--- /dev/null
+++ b/include/asm-ppc/Kbuild
@@ -0,0 +1,8 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += agp.h amigayle.h amipcmcia.h ans-lcd.h bootx.h bseip.h \
+	commproc.h cputable.h floppy.h gg2.h gt64260.h gt64260_defs.h \
+	harrier.h hdreg.h heathrow.h hw_irq.h i8259.h ipc.h keylargo.h \
+	m48t35.h machdep.h macio.h mk48t59.h nvram.h ocp_ids.h of_device.h\
+	ohare.h open_pic.h parport.h ppc_asm.h ppcboot.h reg.h \
+	segment.h spinlock.h todc.h traps.h ucontext.h vga.h xparameters.h
diff --git a/include/asm-s390/Kbuild b/include/asm-s390/Kbuild
new file mode 100644
index 0000000..0870054
--- /dev/null
+++ b/include/asm-s390/Kbuild
@@ -0,0 +1,4 @@
+include include/asm-generic/Kbuild.asm
+
+unifdef-y += cmb.h
+header-y += dasd.h debug.h qeth.h sfp-machine.h tape390.h ucontext.h vtoc.h
diff --git a/include/asm-sh/Kbuild b/include/asm-sh/Kbuild
new file mode 100644
index 0000000..7e77613
--- /dev/null
+++ b/include/asm-sh/Kbuild
@@ -0,0 +1,6 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += addrspace.h floppy.h freq.h hdreg.h hw_irq.h init.h ipc.h \
+	irq-sh73180.h \
+	keyboard.h numnodes.h pgtable-2level.h semaphore-helper.h \
+	serial.h sh_bios.h spinlock.h ubc.h ucontext.h watchdog.h
diff --git a/include/asm-sh64/Kbuild b/include/asm-sh64/Kbuild
new file mode 100644
index 0000000..642b9db
--- /dev/null
+++ b/include/asm-sh64/Kbuild
@@ -0,0 +1,6 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += bugs.h cayman.h current.h delay.h hardware.h hdreg.h \
+	hw_irq.h ipc.h kmap_types.h mc146818rtc.h platform.h registers.h \
+	scatterlist.h segment.h semaphore-helper.h serial.h smp.h \
+	spinlock.h string.h ucontext.h
diff --git a/include/asm-sparc/Kbuild b/include/asm-sparc/Kbuild
new file mode 100644
index 0000000..cecdc61
--- /dev/null
+++ b/include/asm-sparc/Kbuild
@@ -0,0 +1,13 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += apc.h asi.h asmmacro.h auxio.h bitext.h bpp.h \
+	bsderrno.h btfixup.h clock.h contregs.h cpudata.h cypress.h \
+	ebus.h ecc.h eeprom.h fbio.h floppy.h head.h hw_irq.h \
+	idprom.h io-unit.h iommu.h ipc.h jsflash.h \
+	kdebug.h machines.h mbus.h memreg.h mostek.h mpmbox.h msi.h \
+	mxcc.h obio.h openprom.h openpromio.h oplib.h pbm.h pcic.h \
+	pconf.h perfctr.h pgtsrmmu.h pgtsun4.h pgtsun4c.h psr.h reg.h \
+	ross.h sbi.h sbus.h sfp-machine.h smpprim.h \
+	solerrno.h spinlock.h sun4paddr.h sun4prom.h sunbpp.h svr4.h \
+	swift.h sysen.h timer.h traps.h tsunami.h turbosparc.h \
+	vac-ops.h vaddrs.h vfc_ioctls.h viking.h winmacro.h
diff --git a/include/asm-sparc64/Kbuild b/include/asm-sparc64/Kbuild
new file mode 100644
index 0000000..9b1c48c
--- /dev/null
+++ b/include/asm-sparc64/Kbuild
@@ -0,0 +1,15 @@
+include include/asm-generic/Kbuild.asm
+
+ALTARCH := sparc
+ARCHDEF := __arch64__ 
+
+header-y += agp.h apb.h asi.h auxio.h bbc.h bpp.h bsderrno.h \
+	chafsr.h chmctrl.h compat.h const.h cpudata.h dcr.h dcu.h \
+	display7seg.h ebus.h envctrl.h estate.h fbio.h fhc.h floppy.h \
+	fpumacro.h head.h hw_irq.h idprom.h iommu.h \
+	ipc.h isa.h kdebug.h kprobes.h lsu.h mostek.h ns87303.h \
+	openprom.h openpromio.h oplib.h parport.h pbm.h pconf.h \
+	perfctr.h pil.h psrcompat.h pstate.h reg.h sbus.h \
+	sfp-machine.h solerrno.h spinlock.h spitfire.h starfire.h \
+	sunbpp.h svr4.h timer.h ttable.h uctx.h upa.h utrap.h vga.h \
+	visasm.h watchdog.h
diff --git a/include/asm-um/Kbuild b/include/asm-um/Kbuild
new file mode 100644
index 0000000..e8f61cb
--- /dev/null
+++ b/include/asm-um/Kbuild
@@ -0,0 +1,14 @@
+header-y += a.out.h arch-signal-i386.h archparam-i386.h archparam-ppc.h \
+	atomic.h bitops.h boot.h bug.h byteorder.h cache.h cacheflush.h \
+	checksum.h cobalt.h desc.h dma.h elf.h errno.h fcntl.h fixmap.h \
+	floppy.h hardirq.h hdreg.h hw_irq.h init.h io.h ioctl.h ioctls.h \
+	ipc.h ipcbuf.h irq.h irq_vectors.h keyboard.h linkage.h locks.h \
+	mca_dma.h mman.h mmu.h mmu_context.h msgbuf.h mtrr.h namei.h \
+	page.h page_offset.h param.h pgalloc.h poll.h posix_types.h \
+	processor-generic.h processor-i386.h processor-ppc.h \
+	ptrace-generic.h ptrace-i386.h rwlock.h segment.h semaphore.h \
+	sembuf.h serial.h shmbuf.h shmparam.h sigcontext-generic.h \
+	sigcontext-i386.h sigcontext-ppc.h siginfo.h socket.h sockios.h \
+	spinlock.h stat.h suspend.h system-generic.h system-i386.h \
+	system-ppc.h termbits.h termios.h timex.h tlbflush.h types.h \
+	ucontext.h unaligned.h unistd.h user.h vga.h
diff --git a/include/asm-v850/Kbuild b/include/asm-v850/Kbuild
new file mode 100644
index 0000000..fe2930b
--- /dev/null
+++ b/include/asm-v850/Kbuild
@@ -0,0 +1,10 @@
+include include/asm-generic/Kbuild.asm
+
+header-y += anna.h as85ep1.h asm.h clinkage.h entry.h flat.h fpga85e2c.h \
+	gbus_int.h highres_timer.h hw_irq.h ipc.h ma.h ma1.h machdep.h \
+	macrology.h me2.h rte_cb.h rte_ma1_cb.h rte_mb_a_pci.h \
+	rte_me2_cb.h rte_nb85e_cb.h segment.h serial.h sim.h sim85e2.h \
+	sim85e2c.h sim85e2s.h simsyscall.h teg.h ucontext.h \
+	v850e.h v850e2.h v850e2_cache.h v850e_cache.h v850e_intc.h \
+	v850e_timer_c.h v850e_timer_d.h v850e_uart.h v850e_uarta.h \
+	v850e_uartb.h v850e_utils.h
diff --git a/include/asm-x86_64/Kbuild b/include/asm-x86_64/Kbuild
new file mode 100644
index 0000000..b8d8251
--- /dev/null
+++ b/include/asm-x86_64/Kbuild
@@ -0,0 +1,10 @@
+include include/asm-generic/Kbuild.asm
+
+ALTARCH := i386
+ARCHDEF := __x86_64__
+
+header-y += boot.h bootsetup.h cpufeature.h debugreg.h kprobes.h ldt.h \
+	 msr.h prctl.h setup.h sigcontext32.h ucontext.h user32.h \
+	 vsyscall32.h
+
+unifdef-y += ia32.h mce.h mtrr.h vsyscall.h
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
new file mode 100644
index 0000000..54e8c3e
--- /dev/null
+++ b/include/linux/Kbuild
@@ -0,0 +1,63 @@
+header-y := byteorder/ dvb/ hdlc/ isdn/ nfsd/ raid/ sunrpc/ tc_act/	\
+	netfilter/ netfilter_arp/ netfilter_bridge/ netfilter_ipv4/	\
+	netfilter_ipv6/
+
+header-y += affs_fs.h affs_hardblocks.h aio_abi.h a.out.h arcfb.h	\
+	atmapi.h atmbr2684.h atmclip.h atm_eni.h atm_he.h		\
+	atm_idt77105.h atmioc.h atmlec.h atmmpc.h atm_nicstar.h		\
+	atmppp.h atmsap.h atmsvc.h atm_zatm.h auto_fs4.h auxvec.h	\
+	awe_voice.h ax25.h b1lli.h baycom.h bfs_fs.h blkpg.h		\
+	bpqether.h cdk.h chio.h coda_psdev.h coff.h comstats.h		\
+	consolemap.h crc-ccitt.h cycx_cfm.h cycx_x25.h			\
+	devfs_fs.h dn.h dqblk_v1.h dqblk_v2.h dqblk_xfs.h efs_fs_sb.h	\
+	elf-fdpic.h elf.h ethtool.h fadvise.h fd.h			\
+	ftape-header-segment.h ftape-vendors.h fuse.h futex.h		\
+	genetlink.h gen_stats.h gigaset_dev.h hdsmart.h hpfs_fs.h	\
+	hysdn_if.h i2c-dev.h i2c-id.h i8k.h icmp.h if_arcnet.h		\
+	if_arp.h if_bonding.h if_cablemodem.h if_fc.h if_fddi.h if.h	\
+	if_hippi.h if_infiniband.h if_packet.h if_plip.h if_ppp.h	\
+	if_slip.h if_strip.h if_tunnel.h in6.h ioctl.h ip.h		\
+	ipmi_msgdefs.h ip_mp_alg.h ipsec.h ipx.h irda.h			\
+	isdn_divertif.h iso_fs.h ite_gpio.h ixjuser.h jffs2.h keyctl.h	\
+	limits.h major.h matroxfb.h meye.h mii.h minix_fs.h mmtimer.h	\
+	mqueue.h mtio.h ncp_no.h netfilter_arp.h netrom.h nfs2.h	\
+	nfs4_mount.h nfs_mount.h openprom_fs.h param.h pci_ids.h	\
+	pci_regs.h personality.h pfkeyv2.h pg.h pkt_cls.h pkt_sched.h	\
+	posix_types.h ppdev.h ppp_defs.h prctl.h ps2esdi.h qic117.h	\
+	qnxtypes.h quotaio_v1.h quotaio_v2.h radeonfb.h raw.h		\
+	resource.h rose.h sctp.h smbno.h snmp.h sockios.h som.h		\
+	sound.h statfs.h stddef.h synclink.h telephony.h ticable.h	\
+	times.h tiocl.h tipc.h toshiba.h ultrasound.h un.h unistd.h	\
+	utime.h utsname.h video_decoder.h		\
+	video_encoder.h videotext.h vt.h wavefront.h wireless.h		\
+	xattr.h x25.h zorro_ids.h
+
+unifdef-y += acct.h adb.h adfs_fs.h agpgart.h apm_bios.h atalk.h	\
+	atmarp.h atmdev.h atm.h atm_tcp.h audit.h auto_fs.h binfmts.h	\
+	capability.h capi.h cciss_ioctl.h cdrom.h cm4000_cs.h		\
+	cn_proc.h coda.h compiler.h connector.h cramfs_fs.h cuda.h	\
+	cyclades.h dccp.h dirent.h divert.h elfcore.h errno.h		\
+	errqueue.h eventpoll.h ext2_fs.h ext3_fs.h fb.h fcntl.h		\
+	filter.h flat.h fs.h ftape.h gameport.h generic_serial.h	\
+	genhd.h hdlcdrv.h hdlc.h hdreg.h hiddev.h hpet.h		\
+	i2c-algo-ite.h i2c.h i2o-dev.h icmpv6.h if_bridge.h if_ec.h	\
+	if_eql.h if_ether.h if_frad.h if_ltalk.h if_pppox.h		\
+	if_shaper.h if_tr.h if_tun.h if_vlan.h if_wanpipe.h igmp.h	\
+	inet_diag.h in.h inotify.h input.h ipc.h ipmi.h ipv6.h		\
+	ipv6_route.h isdn.h isdnif.h isdn_ppp.h isicom.h jbd.h		\
+	joystick.h kdev_t.h kd.h kernelcapi.h kernel.h keyboard.h	\
+	llc.h loop.h lp.h mempolicy.h mman.h mroute.h msdos_fs.h msg.h	\
+	nbd.h ncp_fs.h ncp.h ncp_mount.h netdevice.h		\
+	netfilter_bridge.h netfilter_decnet.h netfilter.h		\
+	netfilter_ipv4.h netfilter_ipv6.h netfilter_logging.h net.h	\
+	netlink.h nfs3.h nfs4.h nfsacl.h nfs_fs.h nfs.h nfs_idmap.h	\
+	n_r3964.h nubus.h nvram.h parport.h patchkey.h pktcdvd.h	\
+	pmu.h ppp-comp.h ptrace.h qnx4_fs.h quota.h	\
+	random.h reboot.h reiserfs_fs.h reiserfs_xattr.h romfs_fs.h	\
+	route.h rtc.h rtnetlink.h scc.h sched.h sdla.h			\
+	selinux_netlink.h sem.h serial_core.h serial.h serio.h shm.h	\
+	signal.h smb_fs.h smb.h smb_mount.h socket.h sonet.h sonypi.h	\
+	soundcard.h stat.h sysctl.h sysv_fs.h tcp.h time.h	\
+	timex.h tty.h types.h udf_fs_i.h udp.h uinput.h uio.h	\
+	user.h videodev2.h videodev.h wait.h wanrouter.h watchdog.h	\
+	xfrm.h zftape.h
diff --git a/include/linux/byteorder/Kbuild b/include/linux/byteorder/Kbuild
new file mode 100644
index 0000000..89e60f3
--- /dev/null
+++ b/include/linux/byteorder/Kbuild
@@ -0,0 +1 @@
+header-y += big_endian.h generic.h little_endian.h pdp_endian.h swab.h swabb.h
diff --git a/include/linux/dvb/Kbuild b/include/linux/dvb/Kbuild
new file mode 100644
index 0000000..63973af
--- /dev/null
+++ b/include/linux/dvb/Kbuild
@@ -0,0 +1,2 @@
+header-y += ca.h frontend.h net.h osd.h version.h
+unifdef-y := audio.h dmx.h video.h
diff --git a/include/linux/hdlc/Kbuild b/include/linux/hdlc/Kbuild
new file mode 100644
index 0000000..1fb2644
--- /dev/null
+++ b/include/linux/hdlc/Kbuild
@@ -0,0 +1 @@
+header-y += ioctl.h
diff --git a/include/linux/isdn/Kbuild b/include/linux/isdn/Kbuild
new file mode 100644
index 0000000..c1727c8
--- /dev/null
+++ b/include/linux/isdn/Kbuild
@@ -0,0 +1 @@
+header-y += capicmd.h tpam.h
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild
new file mode 100644
index 0000000..d06311a
--- /dev/null
+++ b/include/linux/netfilter/Kbuild
@@ -0,0 +1,11 @@
+header-y := nf_conntrack_sctp.h nf_conntrack_tuple_common.h		\
+	    nfnetlink_conntrack.h nfnetlink_log.h nfnetlink_queue.h	\
+	    xt_CLASSIFY.h xt_comment.h xt_connbytes.h xt_connmark.h	\
+	    xt_CONNMARK.h xt_conntrack.h xt_dccp.h xt_esp.h		\
+	    xt_helper.h xt_length.h xt_limit.h xt_mac.h xt_mark.h	\
+	    xt_MARK.h xt_multiport.h xt_NFQUEUE.h xt_pkttype.h		\
+	    xt_policy.h xt_realm.h xt_sctp.h xt_state.h xt_string.h	\
+	    xt_tcpmss.h xt_tcpudp.h
+
+unifdef-y := nf_conntrack_common.h nf_conntrack_ftp.h		\
+	nf_conntrack_tcp.h nfnetlink.h x_tables.h xt_physdev.h
diff --git a/include/linux/netfilter_arp/Kbuild b/include/linux/netfilter_arp/Kbuild
new file mode 100644
index 0000000..198ec5e
--- /dev/null
+++ b/include/linux/netfilter_arp/Kbuild
@@ -0,0 +1,2 @@
+header-y := arpt_mangle.h
+unifdef-y := arp_tables.h
diff --git a/include/linux/netfilter_bridge/Kbuild b/include/linux/netfilter_bridge/Kbuild
new file mode 100644
index 0000000..5b1aba6
--- /dev/null
+++ b/include/linux/netfilter_bridge/Kbuild
@@ -0,0 +1,4 @@
+header-y += ebt_among.h ebt_arp.h ebt_arpreply.h ebt_ip.h ebt_limit.h	\
+	ebt_log.h ebt_mark_m.h ebt_mark_t.h ebt_nat.h ebt_pkttype.h	\
+	ebt_redirect.h ebt_stp.h ebt_ulog.h ebt_vlan.h
+unifdef-y := ebtables.h ebt_802_3.h
diff --git a/include/linux/netfilter_ipv4/Kbuild b/include/linux/netfilter_ipv4/Kbuild
new file mode 100644
index 0000000..04e4d27
--- /dev/null
+++ b/include/linux/netfilter_ipv4/Kbuild
@@ -0,0 +1,21 @@
+
+header-y := ip_conntrack_helper.h ip_conntrack_helper_h323_asn1.h	\
+	    ip_conntrack_helper_h323_types.h ip_conntrack_protocol.h	\
+	    ip_conntrack_sctp.h ip_conntrack_tcp.h ip_conntrack_tftp.h	\
+	    ip_nat_pptp.h ipt_addrtype.h ipt_ah.h	\
+	    ipt_CLASSIFY.h ipt_CLUSTERIP.h ipt_comment.h		\
+	    ipt_connbytes.h ipt_connmark.h ipt_CONNMARK.h		\
+	    ipt_conntrack.h ipt_dccp.h ipt_dscp.h ipt_DSCP.h ipt_ecn.h	\
+	    ipt_ECN.h ipt_esp.h ipt_hashlimit.h ipt_helper.h		\
+	    ipt_iprange.h ipt_length.h ipt_limit.h ipt_LOG.h ipt_mac.h	\
+	    ipt_mark.h ipt_MARK.h ipt_multiport.h ipt_NFQUEUE.h		\
+	    ipt_owner.h ipt_physdev.h ipt_pkttype.h ipt_policy.h	\
+	    ipt_realm.h ipt_recent.h ipt_REJECT.h ipt_SAME.h		\
+	    ipt_sctp.h ipt_state.h ipt_string.h ipt_tcpmss.h		\
+	    ipt_TCPMSS.h ipt_tos.h ipt_TOS.h ipt_ttl.h ipt_TTL.h	\
+	    ipt_ULOG.h
+
+unifdef-y := ip_conntrack.h ip_conntrack_h323.h ip_conntrack_irc.h	\
+	ip_conntrack_pptp.h ip_conntrack_proto_gre.h			\
+	ip_conntrack_tuple.h ip_nat.h ip_nat_rule.h ip_queue.h		\
+	ip_tables.h
diff --git a/include/linux/netfilter_ipv6/Kbuild b/include/linux/netfilter_ipv6/Kbuild
new file mode 100644
index 0000000..0e64a36
--- /dev/null
+++ b/include/linux/netfilter_ipv6/Kbuild
@@ -0,0 +1,5 @@
+header-y += ip6t_LOG.h ip6t_MARK.h ip6t_ah.h ip6t_esp.h \
+	ip6t_frag.h ip6t_hl.h ip6t_ipv6header.h ip6t_length.h \
+	ip6t_limit.h ip6t_mac.h ip6t_mark.h ip6t_multiport.h ip6t_opts.h \
+	ip6t_owner.h ip6t_physdev.h ip6t_rt.h
+unifdef-y := ip6_tables.h
diff --git a/include/linux/nfsd/Kbuild b/include/linux/nfsd/Kbuild
new file mode 100644
index 0000000..c8c5456
--- /dev/null
+++ b/include/linux/nfsd/Kbuild
@@ -0,0 +1,2 @@
+unifdef-y := const.h export.h stats.h syscall.h nfsfh.h debug.h auth.h
+
diff --git a/include/linux/raid/Kbuild b/include/linux/raid/Kbuild
new file mode 100644
index 0000000..73fa27a
--- /dev/null
+++ b/include/linux/raid/Kbuild
@@ -0,0 +1 @@
+header-y += md_p.h md_u.h
diff --git a/include/linux/sunrpc/Kbuild b/include/linux/sunrpc/Kbuild
new file mode 100644
index 0000000..0d1d768
--- /dev/null
+++ b/include/linux/sunrpc/Kbuild
@@ -0,0 +1 @@
+unifdef-y := debug.h
diff --git a/include/linux/tc_act/Kbuild b/include/linux/tc_act/Kbuild
new file mode 100644
index 0000000..5251a50
--- /dev/null
+++ b/include/linux/tc_act/Kbuild
@@ -0,0 +1 @@
+header-y += tc_gact.h tc_ipt.h tc_mirred.h tc_pedit.h
diff --git a/include/linux/tc_ematch/Kbuild b/include/linux/tc_ematch/Kbuild
new file mode 100644
index 0000000..381e930
--- /dev/null
+++ b/include/linux/tc_ematch/Kbuild
@@ -0,0 +1 @@
+headers-y := tc_em_cmp.h tc_em_meta.h tc_em_nbyte.h tc_em_text.h
diff --git a/include/media/Kbuild b/include/media/Kbuild
new file mode 100644
index 0000000..9c5d805
--- /dev/null
+++ b/include/media/Kbuild
@@ -0,0 +1,2 @@
+header-y := audiochip.h v4l2-common.h
+unifdef-y := tuner.h
diff --git a/include/mtd/Kbuild b/include/mtd/Kbuild
new file mode 100644
index 0000000..e1da2a5
--- /dev/null
+++ b/include/mtd/Kbuild
@@ -0,0 +1,2 @@
+unifdef-y := mtd-abi.h
+header-y := inftl-user.h jffs2-user.h mtd-user.h nftl-user.h
diff --git a/include/rdma/Kbuild b/include/rdma/Kbuild
new file mode 100644
index 0000000..eb710ba
--- /dev/null
+++ b/include/rdma/Kbuild
@@ -0,0 +1 @@
+header-y := ib_user_mad.h
diff --git a/include/scsi/Kbuild b/include/scsi/Kbuild
new file mode 100644
index 0000000..14a033d
--- /dev/null
+++ b/include/scsi/Kbuild
@@ -0,0 +1,2 @@
+header-y += scsi.h
+unifdef-y := scsi_ioctl.h sg.h
diff --git a/include/sound/Kbuild b/include/sound/Kbuild
new file mode 100644
index 0000000..3a5a3df
--- /dev/null
+++ b/include/sound/Kbuild
@@ -0,0 +1,2 @@
+header-y := asound_fm.h hdsp.h hdspm.h sfnt_info.h sscape_ioctl.h
+unifdef-y := asequencer.h asound.h emu10k1.h sb16_csp.h 
diff --git a/include/video/Kbuild b/include/video/Kbuild
new file mode 100644
index 0000000..76a6073
--- /dev/null
+++ b/include/video/Kbuild
@@ -0,0 +1 @@
+unifdef-y := sisfb.h
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
new file mode 100644
index 0000000..265d1ea
--- /dev/null
+++ b/scripts/Makefile.headersinst
@@ -0,0 +1,116 @@
+# ==========================================================================
+# Installing headers
+# ==========================================================================
+
+UNIFDEF := unifdef -U__KERNEL__
+
+_dst := $(if $(dst),$(dst),$(obj))
+
+.PHONY: __headersinst
+__headersinst:
+
+
+ifeq (,$(patsubst include/asm/%,,$(obj)/))
+# For producing the generated stuff in include/asm for biarch builds, include
+# both sets of Kbuild files; we'll generate anything which is mentioned in
+# _either_ arch, and recurse into subdirectories which are mentioned in either
+# arch. Since some directories may exist in one but not the other, we must
+# use '-include'.
+GENASM := 1
+archasm	   := $(subst include/asm,asm-$(ARCH),$(obj))
+altarchasm := $(subst include/asm,asm-$(ALTARCH),$(obj))
+-include $(if $(wildcard $(srctree)/include/$(archasm)/Kbuild), include/$(archasm)/Kbuild, include/$(archasm)/Makefile)
+-include $(if $(wildcard $(srctree)/include/$(altarchasm)/Kbuild), include/$(altarchasm)/Kbuild, include/$(altarchasm)/Makefile)
+else
+include $(if $(wildcard $(srctree)/$(obj)/Kbuild), $(obj)/Kbuild, $(obj)/Makefile)
+endif
+
+include scripts/Kbuild.include
+
+# If this is include/asm-$(ARCH) and there's no $(ALTARCH), then
+# override $(_dst) so that we install to include/asm directly.
+ifeq ($(obj)$(ALTARCH),include/asm-$(ARCH))
+     _dst := include/asm
+endif
+
+header-y	:= $(sort $(header-y))
+unifdef-y	:= $(sort $(unifdef-y))
+subdir-y	:= $(patsubst %/,%,$(filter %/, $(header-y)))
+header-y	:= $(filter-out %/, $(header-y))
+header-y	:= $(filter-out $(unifdef-y),$(header-y))
+
+ifdef ALTARCH
+ifeq ($(obj),include/asm-$(ARCH))
+altarch-y	:= altarch-dir
+endif
+endif
+
+export ALTARCH
+export ARCHDEF
+
+quiet_cmd_headers_install = INSTALL $(_dst)/$@
+      cmd_headers_install = cp $(srctree)/$(obj)/$@ $(INSTALL_HDR_PATH)/$(_dst)
+
+quiet_cmd_unifdef	  = UNIFDEF $(_dst)/$@
+      cmd_unifdef	  = $(UNIFDEF) $(srctree)/$(obj)/$@ > $(INSTALL_HDR_PATH)/$(_dst)/$@ || :
+
+quiet_cmd_check		  = CHECK $(_dst)/$@
+      cmd_check		  = $(srctree)/scripts/hdrcheck.sh $(INSTALL_HDR_PATH)/include $(INSTALL_HDR_PATH)/$(_dst)/$@
+
+quiet_cmd_mkdir		  = MKDIR $@
+      cmd_mkdir		  = mkdir -p $(INSTALL_HDR_PATH)/$@
+
+quiet_cmd_gen		  = GEN $(_dst)/$@
+      cmd_gen		  = ( echo "/* File autogenerated by 'make headers_install' */"	;			\
+      			    echo "\#ifdef $(ARCHDEF)" ;								\
+			    if [ -r $(srctree)/include/$(archasm)/$@ ]; then					\
+      			       echo "\#include <$(archasm)/$@>" ;						\
+			    else										\
+      			       echo "\#error $(archasm)/$@ does not exist in the $(ARCH) architecture" ;	\
+			    fi ;										\
+      			    echo "\#else" ;									\
+			    if [ -r $(srctree)/include/$(altarchasm)/$@ ]; then					\
+      			       echo "\#include <$(altarchasm)/$@>" ;						\
+			    else										\
+      			       echo "\#error $(altarchasm)/$@ does not exist in the $(ALTARCH) architecture" ;	\
+			    fi ;										\
+      			    echo "\#endif" ) > $(INSTALL_HDR_PATH)/$(_dst)/$@
+
+__headersinst: $(subdir-y) $(header-y) $(unifdef-y) $(altarch-y)
+
+.PHONY: $(header-y) $(unifdef-y) $(subdir-y)
+
+ifdef HDRCHECK
+# Rules for checking headers
+$(header-y) $(unifdef-y):
+	$(call cmd,check)
+else
+# Rules for installing headers
+
+$(subdir-y) $(header-y) $(unifdef-y): $(_dst)
+
+.PHONY: $(_dst)
+$(_dst):
+	$(call cmd,mkdir)
+
+ifdef GENASM
+$(header-y) $(unifdef-y):
+	$(call cmd,gen)
+
+else
+$(header-y):
+	$(call cmd,headers_install)
+
+$(unifdef-y):
+	$(call cmd,unifdef)
+endif
+endif
+
+.PHONY: altarch-dir
+altarch-dir:
+	$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include/asm-$(ALTARCH) dst=include/asm-$(ALTARCH)
+	$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include/asm dst=include/asm
+
+# Recursion
+$(subdir-y):
+	$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=$(obj)/$@ dst=$(_dst)/$@ rel=../$(rel)
diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh
new file mode 100755
index 0000000..b3bb683
--- /dev/null
+++ b/scripts/hdrcheck.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for FILE in `grep '^#include <' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do
+    if [ ! -r $1/$FILE ]; then
+	echo $2 requires $FILE, which does not exist
+	exit 1
+    fi
+done


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.2162
retrieving revision 1.2163
diff -u -r1.2162 -r1.2163
--- kernel-2.6.spec	26 Apr 2006 11:32:28 -0000	1.2162
+++ kernel-2.6.spec	26 Apr 2006 12:22:04 -0000	1.2163
@@ -13,6 +13,7 @@
 %define buildxenPAE 0
 %define builddoc 0
 %define buildkdump 1
+%define buildheaders 0
 
 # Versions of various parts
 
@@ -187,6 +188,9 @@
 BuildPreReq: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
 BuildPreReq: bzip2, findutils, gzip, m4, perl, make >= 3.78, gnupg, diffutils
 BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
+%if %{buildheaders}
+BuildRequires: unifdef
+%endif
 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
 
 
@@ -226,6 +230,14 @@
 Patch1: patch-2.6.17-rc2.bz2
 Patch2: patch-2.6.17-rc2-git7.bz2
 
+#
+# Clean up and export kernel headers to userspace
+#
+# git://git.infradead.org/hdrinstall-2.6.git
+Patch50: linux-2.6-header-install-git.patch
+# git://git.infradead.org/hdrcleanup-2.6.git
+Patch51: linux-2.6-header-cleanup-git.patch
+
 # Patches 100 through 500 are meant for architecture patches
 
 # 200 - 299   x86(-64)
@@ -436,6 +448,17 @@
 You'll want to install this package if you need a reference to the
 options that can be passed to Linux kernel modules at load time.
 
+%package headers
+Summary: Header files for the Linux kernel for use by glibc
+Group: Development/System
+Obsoletes: glibc-kernheaders
+
+%description headers
+Kernel-headers includes the C header files that specify the interface
+between the Linux kernel and userspace libraries and programs.  The
+header files define structures and constants that are needed for
+building most standard programs and are also needed for rebuilding the
+glibc package.
 
 %package PAE
 Summary: The Linux kernel compiled for PAE capable machines.
@@ -724,6 +747,11 @@
 %patch1 -p1
 %patch2 -p1
 
+%if %{buildheaders}
+%patch50 -p1
+%patch51 -p1
+%endif
+
 #
 # Patches 10 through 100 are meant for core subsystem upgrades
 #
@@ -1331,6 +1359,10 @@
 tar cf - Documentation | tar xf - -C $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion}
 %endif
 
+%if %{buildheaders}
+# Install kernel headers
+make INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
+%endif
 ###
 ### clean
 ###
@@ -1515,6 +1547,12 @@
 %verify(not mtime) /usr/src/kernels/%{KVERREL}-%{_target_cpu}
 %endif
 
+%if %{buildheaders}
+%files headers
+%defattr(-,root,root)
+/usr/include/*
+%endif
+
 %if %{buildpae}
 %files PAE
 %defattr(-,root,root)
@@ -1666,6 +1704,9 @@
 %endif
 
 %changelog
+* Wed Apr 26 2006 David Woodhouse <dwmw2 at redhat.com>
+- Include kernel-headers subpackage, conditionally (and off for now)
+
 * Wed Apr 26 2006 Juan Quintela <quintela at redhat.com>
 - rebase with last linux-2.6-xen.
 - enable xen again.




More information about the fedora-cvs-commits mailing list