Browse Source

include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h

percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files.  percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.

percpu.h -> slab.h dependency is about to be removed.  Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability.  As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.

  http://userweb.kernel.org/~tj/misc/slabh-sweep.py

The script does the followings.

* Scan files for gfp and slab usages and update includes such that
  only the necessary includes are there.  ie. if only gfp is used,
  gfp.h, if slab is used, slab.h.

* When the script inserts a new include, it looks at the include
  blocks and try to put the new include such that its order conforms
  to its surrounding.  It's put in the include block which contains
  core kernel includes, in the same order that the rest are ordered -
  alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
  doesn't seem to be any matching order.

* If the script can't find a place to put a new include (mostly
  because the file doesn't have fitting include block), it prints out
  an error message indicating which .h file needs to be added to the
  file.

The conversion was done in the following steps.

1. The initial automatic conversion of all .c files updated slightly
   over 4000 files, deleting around 700 includes and adding ~480 gfp.h
   and ~3000 slab.h inclusions.  The script emitted errors for ~400
   files.

2. Each error was manually checked.  Some didn't need the inclusion,
   some needed manual addition while adding it to implementation .h or
   embedding .c file was more appropriate for others.  This step added
   inclusions to around 150 files.

3. The script was run again and the output was compared to the edits
   from #2 to make sure no file was left behind.

4. Several build tests were done and a couple of problems were fixed.
   e.g. lib/decompress_*.c used malloc/free() wrappers around slab
   APIs requiring slab.h to be added manually.

5. The script was run on all .h files but without automatically
   editing them as sprinkling gfp.h and slab.h inclusions around .h
   files could easily lead to inclusion dependency hell.  Most gfp.h
   inclusion directives were ignored as stuff from gfp.h was usually
   wildly available and often used in preprocessor macros.  Each
   slab.h inclusion directive was examined and added manually as
   necessary.

6. percpu.h was updated not to include slab.h.

7. Build test were done on the following configurations and failures
   were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
   distributed build env didn't work with gcov compiles) and a few
   more options had to be turned off depending on archs to make things
   build (like ipr on powerpc/64 which failed due to missing writeq).

   * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
   * powerpc and powerpc64 SMP allmodconfig
   * sparc and sparc64 SMP allmodconfig
   * ia64 SMP allmodconfig
   * s390 SMP allmodconfig
   * alpha SMP allmodconfig
   * um on x86_64 SMP allmodconfig

8. percpu.h modifications were reverted so that it could be applied as
   a separate patch and serve as bisection point.

Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.

Signed-off-by: Tejun Heo <tj@kernel.org>
Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
imx_3.10.17_1.0.0_ga
Tejun Heo 11 years ago
parent
commit
5a0e3ad6af
4208 changed files with 3717 additions and 717 deletions
  1. +1
    -0
      Documentation/connector/cn_test.c
  2. +1
    -0
      arch/alpha/boot/bootp.c
  3. +1
    -0
      arch/alpha/boot/bootpz.c
  4. +1
    -0
      arch/alpha/boot/main.c
  5. +1
    -0
      arch/alpha/boot/misc.c
  6. +0
    -1
      arch/alpha/kernel/irq.c
  7. +1
    -1
      arch/alpha/kernel/osf_sys.c
  8. +1
    -0
      arch/alpha/kernel/pci-noop.c
  9. +1
    -0
      arch/alpha/kernel/pci-sysfs.c
  10. +1
    -1
      arch/alpha/kernel/pci_iommu.c
  11. +1
    -1
      arch/alpha/kernel/process.c
  12. +0
    -1
      arch/alpha/kernel/ptrace.c
  13. +0
    -1
      arch/alpha/kernel/smc37c669.c
  14. +0
    -1
      arch/alpha/kernel/smc37c93x.c
  15. +1
    -0
      arch/alpha/kernel/srm_env.c
  16. +1
    -0
      arch/alpha/mm/init.c
  17. +1
    -0
      arch/arm/common/clkdev.c
  18. +0
    -1
      arch/arm/common/it8152.c
  19. +0
    -1
      arch/arm/kernel/irq.c
  20. +1
    -0
      arch/arm/kernel/kprobes.c
  21. +1
    -1
      arch/arm/kernel/module.c
  22. +0
    -1
      arch/arm/kernel/process.c
  23. +1
    -1
      arch/arm/kernel/sys_arm.c
  24. +1
    -0
      arch/arm/lib/uaccess_with_memcpy.c
  25. +1
    -0
      arch/arm/mach-aaec2000/core.c
  26. +1
    -0
      arch/arm/mach-bcmring/dma.c
  27. +1
    -0
      arch/arm/mach-davinci/board-dm365-evm.c
  28. +1
    -0
      arch/arm/mach-davinci/dma.c
  29. +0
    -1
      arch/arm/mach-h720x/common.c
  30. +0
    -1
      arch/arm/mach-integrator/cpu.c
  31. +1
    -0
      arch/arm/mach-integrator/impd1.c
  32. +1
    -1
      arch/arm/mach-integrator/integrator_cp.c
  33. +0
    -1
      arch/arm/mach-integrator/pci_v3.c
  34. +1
    -0
      arch/arm/mach-iop13xx/pci.c
  35. +0
    -1
      arch/arm/mach-iop32x/glantank.c
  36. +0
    -1
      arch/arm/mach-iop32x/iq31244.c
  37. +0
    -1
      arch/arm/mach-iop32x/iq80321.c
  38. +0
    -1
      arch/arm/mach-iop32x/n2100.c
  39. +0
    -1
      arch/arm/mach-iop33x/iq80331.c
  40. +0
    -1
      arch/arm/mach-iop33x/iq80332.c
  41. +0
    -1
      arch/arm/mach-ixp2000/enp2611.c
  42. +0
    -1
      arch/arm/mach-ixp2000/ixdp2400.c
  43. +0
    -1
      arch/arm/mach-ixp2000/ixdp2800.c
  44. +0
    -1
      arch/arm/mach-ixp2000/ixdp2x00.c
  45. +0
    -1
      arch/arm/mach-ixp2000/ixdp2x01.c
  46. +0
    -1
      arch/arm/mach-ixp2000/pci.c
  47. +0
    -1
      arch/arm/mach-ixp23xx/pci.c
  48. +0
    -1
      arch/arm/mach-ixp4xx/avila-setup.c
  49. +0
    -1
      arch/arm/mach-ixp4xx/coyote-setup.c
  50. +0
    -1
      arch/arm/mach-ixp4xx/gateway7001-setup.c
  51. +0
    -1
      arch/arm/mach-ixp4xx/gtwx5715-setup.c
  52. +0
    -1
      arch/arm/mach-ixp4xx/ixdp425-setup.c
  53. +0
    -1
      arch/arm/mach-ixp4xx/ixp4xx_npe.c
  54. +0
    -1
      arch/arm/mach-ixp4xx/wg302v2-setup.c
  55. +1
    -0
      arch/arm/mach-kirkwood/pcie.c
  56. +1
    -0
      arch/arm/mach-lh7a40x/clcd.c
  57. +1
    -0
      arch/arm/mach-mx3/mach-mx31moboard.c
  58. +1
    -0
      arch/arm/mach-mx3/mach-pcm037.c
  59. +1
    -0
      arch/arm/mach-mx3/mx31moboard-devboard.c
  60. +1
    -0
      arch/arm/mach-mx3/mx31moboard-marxbot.c
  61. +1
    -0
      arch/arm/mach-netx/fb.c
  62. +1
    -0
      arch/arm/mach-netx/xc.c
  63. +1
    -0
      arch/arm/mach-nomadik/gpio.c
  64. +1
    -0
      arch/arm/mach-ns9xxx/plat-serial8250.c
  65. +0
    -1
      arch/arm/mach-ns9xxx/processor-ns9360.c
  66. +1
    -0
      arch/arm/mach-omap1/mcbsp.c
  67. +1
    -0
      arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
  68. +1
    -0
      arch/arm/mach-omap2/iommu2.c
  69. +1
    -0
      arch/arm/mach-omap2/mcbsp.c
  70. +1
    -0
      arch/arm/mach-omap2/mux.c
  71. +1
    -0
      arch/arm/mach-omap2/pm-debug.c
  72. +1
    -0
      arch/arm/mach-omap2/pm34xx.c
  73. +1
    -0
      arch/arm/mach-orion5x/pci.c
  74. +1
    -0
      arch/arm/mach-pnx4008/dma.c
  75. +1
    -0
      arch/arm/mach-pnx4008/pm.c
  76. +0
    -1
      arch/arm/mach-pxa/corgi_ssp.c
  77. +1
    -0
      arch/arm/mach-pxa/cpufreq-pxa3xx.c
  78. +1
    -0
      arch/arm/mach-pxa/mioa701.c
  79. +1
    -0
      arch/arm/mach-pxa/pm.c
  80. +1
    -0
      arch/arm/mach-pxa/viper.c
  81. +1
    -0
      arch/arm/mach-realview/core.c
  82. +0
    -1
      arch/arm/mach-rpc/dma.c
  83. +1
    -0
      arch/arm/mach-s3c64xx/dma.c
  84. +0
    -1
      arch/arm/mach-sa1100/jornada720_ssp.c
  85. +0
    -1
      arch/arm/mach-sa1100/neponset.c
  86. +1
    -0
      arch/arm/mach-u300/dummyspichip.c
  87. +1
    -0
      arch/arm/mach-u300/mmc.c
  88. +1
    -0
      arch/arm/mach-versatile/core.c
  89. +0
    -1
      arch/arm/mach-versatile/pci.c
  90. +1
    -0
      arch/arm/mach-w90x900/dev.c
  91. +1
    -1
      arch/arm/mm/dma-mapping.c
  92. +1
    -0
      arch/arm/mm/fault-armv.c
  93. +1
    -0
      arch/arm/mm/init.c
  94. +1
    -0
      arch/arm/mm/pgd.c
  95. +1
    -0
      arch/arm/plat-mxc/audmux-v2.c
  96. +1
    -0
      arch/arm/plat-mxc/pwm.c
  97. +1
    -0
      arch/arm/plat-omap/devices.c
  98. +1
    -0
      arch/arm/plat-omap/dma.c
  99. +1
    -0
      arch/arm/plat-omap/iommu-debug.c
  100. +1
    -0
      arch/arm/plat-omap/iommu.c

+ 1
- 0
Documentation/connector/cn_test.c View File

@ -25,6 +25,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/connector.h>


+ 1
- 0
arch/alpha/boot/bootp.c View File

@ -8,6 +8,7 @@
* based significantly on the arch/alpha/boot/main.c of Linus Torvalds
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <generated/utsrelease.h>
#include <linux/mm.h>


+ 1
- 0
arch/alpha/boot/bootpz.c View File

@ -10,6 +10,7 @@
* and the decompression code from MILO.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <generated/utsrelease.h>
#include <linux/mm.h>


+ 1
- 0
arch/alpha/boot/main.c View File

@ -6,6 +6,7 @@
* This file is the bootloader for the Linux/AXP kernel
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <generated/utsrelease.h>
#include <linux/mm.h>


+ 1
- 0
arch/alpha/boot/misc.c View File

@ -19,6 +19,7 @@
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/uaccess.h>


+ 0
- 1
arch/alpha/kernel/irq.c View File

@ -18,7 +18,6 @@
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/init.h>
#include <linux/irq.h>


+ 1
- 1
arch/alpha/kernel/osf_sys.c View File

@ -20,7 +20,6 @@
#include <linux/syscalls.h>
#include <linux/unistd.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/user.h>
#include <linux/utsname.h>
#include <linux/time.h>
@ -37,6 +36,7 @@
#include <linux/uio.h>
#include <linux/vfs.h>
#include <linux/rcupdate.h>
#include <linux/slab.h>
#include <asm/fpu.h>
#include <asm/io.h>


+ 1
- 0
arch/alpha/kernel/pci-noop.c View File

@ -7,6 +7,7 @@
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/gfp.h>
#include <linux/capability.h>
#include <linux/mm.h>
#include <linux/errno.h>


+ 1
- 0
arch/alpha/kernel/pci-sysfs.c View File

@ -10,6 +10,7 @@
*/
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/pci.h>
static int hose_mmap_page_range(struct pci_controller *hose,


+ 1
- 1
arch/alpha/kernel/pci_iommu.c View File

@ -5,7 +5,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/gfp.h>
#include <linux/bootmem.h>
#include <linux/scatterlist.h>
#include <linux/log2.h>


+ 1
- 1
arch/alpha/kernel/process.c View File

@ -17,7 +17,6 @@
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/user.h>
#include <linux/time.h>
#include <linux/major.h>
@ -28,6 +27,7 @@
#include <linux/reboot.h>
#include <linux/tty.h>
#include <linux/console.h>
#include <linux/slab.h>
#include <asm/reg.h>
#include <asm/uaccess.h>


+ 0
- 1
arch/alpha/kernel/ptrace.c View File

@ -11,7 +11,6 @@
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/slab.h>
#include <linux/security.h>
#include <linux/signal.h>


+ 0
- 1
arch/alpha/kernel/smc37c669.c View File

@ -3,7 +3,6 @@
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>


+ 0
- 1
arch/alpha/kernel/smc37c93x.c View File

@ -4,7 +4,6 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>


+ 1
- 0
arch/alpha/kernel/srm_env.c View File

@ -30,6 +30,7 @@
*/
#include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/proc_fs.h>


+ 1
- 0
arch/alpha/mm/init.c View File

@ -20,6 +20,7 @@
#include <linux/init.h>
#include <linux/bootmem.h> /* max_low_pfn */
#include <linux/vmalloc.h>
#include <linux/gfp.h>
#include <asm/system.h>
#include <asm/uaccess.h>


+ 1
- 0
arch/arm/common/clkdev.c View File

@ -18,6 +18,7 @@
#include <linux/string.h>
#include <linux/mutex.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <asm/clkdev.h>
#include <mach/clkdev.h>


+ 0
- 1
arch/arm/common/it8152.c View File

@ -21,7 +21,6 @@
#include <linux/ptrace.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/irq.h>


+ 0
- 1
arch/arm/kernel/irq.c View File

@ -27,7 +27,6 @@
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/smp.h>
#include <linux/init.h>


+ 1
- 0
arch/arm/kernel/kprobes.c View File

@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/stop_machine.h>
#include <linux/stringify.h>
#include <asm/traps.h>


+ 1
- 1
arch/arm/kernel/module.c View File

@ -16,9 +16,9 @@
#include <linux/mm.h>
#include <linux/elf.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/gfp.h>
#include <asm/pgtable.h>
#include <asm/sections.h>


+ 0
- 1
arch/arm/kernel/process.c View File

@ -16,7 +16,6 @@
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/user.h>
#include <linux/delay.h>
#include <linux/reboot.h>


+ 1
- 1
arch/arm/kernel/sys_arm.c View File

@ -15,7 +15,6 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/sem.h>
#include <linux/msg.h>
@ -27,6 +26,7 @@
#include <linux/file.h>
#include <linux/ipc.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
/* Fork a new task - this creates a new program thread.
* This is called indirectly via a small wrapper


+ 1
- 0
arch/arm/lib/uaccess_with_memcpy.c View File

@ -16,6 +16,7 @@
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/hardirq.h> /* for in_atomic() */
#include <linux/gfp.h>
#include <asm/current.h>
#include <asm/page.h>


+ 1
- 0
arch/arm/mach-aaec2000/core.c View File

@ -20,6 +20,7 @@
#include <linux/timex.h>
#include <linux/signal.h>
#include <linux/clk.h>
#include <linux/gfp.h>
#include <mach/hardware.h>
#include <asm/irq.h>


+ 1
- 0
arch/arm/mach-bcmring/dma.c View File

@ -28,6 +28,7 @@
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <mach/timer.h>


+ 1
- 0
arch/arm/mach-davinci/board-dm365-evm.c View File

@ -22,6 +22,7 @@
#include <linux/leds.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/slab.h>
#include <linux/mtd/nand.h>
#include <linux/input.h>
#include <linux/spi/spi.h>


+ 1
- 0
arch/arm/mach-davinci/dma.c View File

@ -23,6 +23,7 @@
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <mach/edma.h>


+ 0
- 1
arch/arm/mach-h720x/common.c View File

@ -14,7 +14,6 @@
*/
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mman.h>
#include <linux/init.h>
#include <linux/interrupt.h>


+ 0
- 1
arch/arm/mach-integrator/cpu.c View File

@ -13,7 +13,6 @@
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/init.h>


+ 1
- 0
arch/arm/mach-integrator/impd1.c View File

@ -21,6 +21,7 @@
#include <linux/amba/bus.h>
#include <linux/amba/clcd.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/clkdev.h>
#include <mach/clkdev.h>


+ 1
- 1
arch/arm/mach-integrator/integrator_cp.c View File

@ -13,7 +13,6 @@
#include <linux/list.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/sysdev.h>
#include <linux/amba/bus.h>
@ -21,6 +20,7 @@
#include <linux/amba/clcd.h>
#include <linux/amba/mmci.h>
#include <linux/io.h>
#include <linux/gfp.h>
#include <asm/clkdev.h>
#include <mach/clkdev.h>


+ 0
- 1
arch/arm/mach-integrator/pci_v3.c View File

@ -22,7 +22,6 @@
*/
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>


+ 1
- 0
arch/arm/mach-iop13xx/pci.c View File

@ -18,6 +18,7 @@
*/
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <asm/irq.h>


+ 0
- 1
arch/arm/mach-iop32x/glantank.c View File

@ -19,7 +19,6 @@
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-iop32x/iq31244.c View File

@ -21,7 +21,6 @@
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-iop32x/iq80321.c View File

@ -18,7 +18,6 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-iop32x/n2100.c View File

@ -23,7 +23,6 @@
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-iop33x/iq80331.c View File

@ -17,7 +17,6 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-iop33x/iq80332.c View File

@ -17,7 +17,6 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>


+ 0
- 1
arch/arm/mach-ixp2000/enp2611.c View File

@ -26,7 +26,6 @@
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/serial.h>
#include <linux/tty.h>


+ 0
- 1
arch/arm/mach-ixp2000/ixdp2400.c View File

@ -23,7 +23,6 @@
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>


+ 0
- 1
arch/arm/mach-ixp2000/ixdp2800.c View File

@ -23,7 +23,6 @@
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>


+ 0
- 1
arch/arm/mach-ixp2000/ixdp2x00.c View File

@ -23,7 +23,6 @@
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>


+ 0
- 1
arch/arm/mach-ixp2000/ixdp2x01.c View File

@ -23,7 +23,6 @@
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/serial.h>
#include <linux/tty.h>


+ 0
- 1
arch/arm/mach-ixp2000/pci.c View File

@ -22,7 +22,6 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>


+ 0
- 1
arch/arm/mach-ixp23xx/pci.c View File

@ -23,7 +23,6 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>


+ 0
- 1
arch/arm/mach-ixp4xx/avila-setup.c View File

@ -17,7 +17,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <linux/i2c-gpio.h>
#include <asm/types.h>
#include <asm/setup.h>


+ 0
- 1
arch/arm/mach-ixp4xx/coyote-setup.c View File

@ -14,7 +14,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <asm/types.h>
#include <asm/setup.h>


+ 0
- 1
arch/arm/mach-ixp4xx/gateway7001-setup.c View File

@ -17,7 +17,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <asm/types.h>
#include <asm/setup.h>


+ 0
- 1
arch/arm/mach-ixp4xx/gtwx5715-setup.c View File

@ -27,7 +27,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <asm/types.h>
#include <asm/setup.h>
#include <asm/memory.h>


+ 0
- 1
arch/arm/mach-ixp4xx/ixdp425-setup.c View File

@ -14,7 +14,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <linux/i2c-gpio.h>
#include <linux/io.h>
#include <linux/mtd/mtd.h>


+ 0
- 1
arch/arm/mach-ixp4xx/ixp4xx_npe.c View File

@ -20,7 +20,6 @@
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <mach/npe.h>
#define DEBUG_MSG 0


+ 0
- 1
arch/arm/mach-ixp4xx/wg302v2-setup.c View File

@ -18,7 +18,6 @@
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <asm/types.h>
#include <asm/setup.h>


+ 1
- 0
arch/arm/mach-kirkwood/pcie.c View File

@ -10,6 +10,7 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mbus.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>


+ 1
- 0
arch/arm/mach-lh7a40x/clcd.c View File

@ -10,6 +10,7 @@
*/
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/sysdev.h>


+ 1
- 0
arch/arm/mach-mx3/mach-mx31moboard.c View File

@ -19,6 +19,7 @@
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/fsl_devices.h>
#include <linux/gfp.h>
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/interrupt.h>


+ 1
- 0
arch/arm/mach-mx3/mach-pcm037.c View File

@ -36,6 +36,7 @@
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
#include <linux/fsl_devices.h>
#include <linux/gfp.h>
#include <media/soc_camera.h>


+ 1
- 0
arch/arm/mach-mx3/mx31moboard-devboard.c View File

@ -20,6 +20,7 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/usb/otg.h>


+ 1
- 0
arch/arm/mach-mx3/mx31moboard-marxbot.c View File

@ -22,6 +22,7 @@
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/types.h>


+ 1
- 0
arch/arm/mach-netx/fb.c View File

@ -23,6 +23,7 @@
#include <linux/amba/bus.h>
#include <linux/amba/clcd.h>
#include <linux/err.h>
#include <linux/gfp.h>
#include <asm/irq.h>


+ 1
- 0
arch/arm/mach-netx/xc.c View File

@ -21,6 +21,7 @@
#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <mach/hardware.h>


+ 1
- 0
arch/arm/mach-nomadik/gpio.c View File

@ -19,6 +19,7 @@
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <mach/hardware.h>
#include <mach/gpio.h>


+ 1
- 0
arch/arm/mach-ns9xxx/plat-serial8250.c View File

@ -10,6 +10,7 @@
*/
#include <linux/platform_device.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <mach/regs-board-a9m9750dev.h>
#include <mach/board.h>


+ 0
- 1
arch/arm/mach-ns9xxx/processor-ns9360.c View File

@ -10,7 +10,6 @@
*/
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/page.h>
#include <asm/mach/map.h>


+ 1
- 0
arch/arm/mach-omap1/mcbsp.c View File

@ -16,6 +16,7 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <mach/irqs.h>
#include <plat/dma.h>


+ 1
- 0
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c View File

@ -31,6 +31,7 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <plat/clock.h>
#include <plat/sram.h>


+ 1
- 0
arch/arm/mach-omap2/iommu2.c View File

@ -15,6 +15,7 @@
#include <linux/device.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/stringify.h>
#include <plat/iommu.h>


+ 1
- 0
arch/arm/mach-omap2/mcbsp.c View File

@ -16,6 +16,7 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <mach/irqs.h>
#include <plat/dma.h>


+ 1
- 0
arch/arm/mach-omap2/mux.c View File

@ -26,6 +26,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/ctype.h>


+ 1
- 0
arch/arm/mach-omap2/pm-debug.c View File

@ -25,6 +25,7 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <plat/clock.h>
#include <plat/board.h>


+ 1
- 0
arch/arm/mach-omap2/pm34xx.c View File

@ -27,6 +27,7 @@
#include <linux/gpio.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <plat/sram.h>
#include <plat/clockdomain.h>


+ 1
- 0
arch/arm/mach-orion5x/pci.c View File

@ -12,6 +12,7 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mbus.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>


+ 1
- 0
arch/arm/mach-pnx4008/dma.c View File

@ -22,6 +22,7 @@
#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/gfp.h>
#include <asm/system.h>
#include <mach/hardware.h>


+ 1
- 0
arch/arm/mach-pnx4008/pm.c View File

@ -19,6 +19,7 @@
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/cacheflush.h>


+ 0
- 1
arch/arm/mach-pxa/corgi_ssp.c View File

@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <mach/hardware.h>


+ 1
- 0
arch/arm/mach-pxa/cpufreq-pxa3xx.c View File

@ -14,6 +14,7 @@
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <mach/pxa3xx-regs.h>


+ 1
- 0
arch/arm/mach-pxa/mioa701.c View File

@ -38,6 +38,7 @@
#include <linux/mtd/physmap.h>
#include <linux/usb/gpio_vbus.h>
#include <linux/regulator/max1586.h>
#include <linux/slab.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>


+ 1
- 0
arch/arm/mach-pxa/pm.c View File

@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/suspend.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <mach/pm.h>


+ 1
- 0
arch/arm/mach-pxa/viper.c View File

@ -27,6 +27,7 @@
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/major.h>
#include <linux/module.h>


+ 1
- 0
arch/arm/mach-realview/core.c View File

@ -31,6 +31,7 @@
#include <linux/smsc911x.h>
#include <linux/ata_platform.h>
#include <linux/amba/mmci.h>
#include <linux/gfp.h>
#include <asm/clkdev.h>
#include <asm/system.h>


+ 0
- 1
arch/arm/mach-rpc/dma.c View File

@ -9,7 +9,6 @@
*
* DMA functions specific to RiscPC architecture
*/
#include <linux/slab.h>
#include <linux/mman.h>
#include <linux/init.h>
#include <linux/interrupt.h>


+ 1
- 0
arch/arm/mach-s3c64xx/dma.c View File

@ -18,6 +18,7 @@
#include <linux/dmapool.h>
#include <linux/sysdev.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/err.h>


+ 0
- 1
arch/arm/mach-sa1100/jornada720_ssp.c View File

@ -18,7 +18,6 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <mach/hardware.h>
#include <mach/jornada720.h>


+ 0
- 1
arch/arm/mach-sa1100/neponset.c View File

@ -8,7 +8,6 @@
#include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>


+ 1
- 0
arch/arm/mach-u300/dummyspichip.c View File

@ -15,6 +15,7 @@
#include <linux/mutex.h>
#include <linux/spi/spi.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
/*
* WARNING! Do not include this pl022-specific controller header
* for any generic driver. It is only done in this dummy chip


+ 1
- 0
arch/arm/mach-u300/mmc.c View File

@ -20,6 +20,7 @@
#include <linux/regulator/machine.h>
#include <linux/gpio.h>
#include <linux/amba/mmci.h>
#include <linux/slab.h>
#include "mmc.h"
#include "padmux.h"


+ 1
- 0
arch/arm/mach-versatile/core.c View File

@ -32,6 +32,7 @@
#include <linux/clockchips.h>
#include <linux/cnt32_to_63.h>
#include <linux/io.h>
#include <linux/gfp.h>
#include <asm/clkdev.h>
#include <asm/system.h>


+ 0
- 1
arch/arm/mach-versatile/pci.c View File

@ -16,7 +16,6 @@
*/
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>


+ 1
- 0
arch/arm/mach-w90x900/dev.c View File

@ -18,6 +18,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/mtd.h>


+ 1
- 1
arch/arm/mm/dma-mapping.c View File

@ -11,7 +11,7 @@
*/
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/gfp.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/init.h>


+ 1
- 0
arch/arm/mm/fault-armv.c View File

@ -16,6 +16,7 @@
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/pagemap.h>
#include <linux/gfp.h>
#include <asm/bugs.h>
#include <asm/cacheflush.h>


+ 1
- 0
arch/arm/mm/init.c View File

@ -17,6 +17,7 @@
#include <linux/initrd.h>
#include <linux/sort.h>
#include <linux/highmem.h>
#include <linux/gfp.h>
#include <asm/mach-types.h>
#include <asm/sections.h>


+ 1
- 0
arch/arm/mm/pgd.c View File

@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
#include <linux/mm.h>
#include <linux/gfp.h>
#include <linux/highmem.h>
#include <asm/pgalloc.h>


+ 1
- 0
arch/arm/plat-mxc/audmux-v2.c View File

@ -24,6 +24,7 @@
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <mach/audmux.h>
#include <mach/hardware.h>


+ 1
- 0
arch/arm/plat-mxc/pwm.c View File

@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>


+ 1
- 0
arch/arm/plat-omap/devices.c View File

@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>


+ 1
- 0
arch/arm/plat-omap/dma.c View File

@ -29,6 +29,7 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/system.h>
#include <mach/hardware.h>


+ 1
- 0
arch/arm/plat-omap/iommu-debug.c View File

@ -13,6 +13,7 @@
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <linux/debugfs.h>


+ 1
- 0
arch/arm/plat-omap/iommu.c View File

@ -13,6 +13,7 @@
#include <linux/err.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/clk.h>


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save