Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

include cleanup: Update gfp.h and slab.h includes to prepare for brea…

…king 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>
  • Loading branch information...
commit 5a0e3ad6af8660be21ca98a971cd00f331318c05 1 parent ed391f4
Tejun Heo authored
Showing with 209 additions and 119 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
  101. +1 −0  arch/arm/plat-omap/iovmm.c
  102. +1 −0  arch/arm/plat-omap/mailbox.c
  103. +1 −0  arch/arm/plat-omap/mcbsp.c
  104. +1 −0  arch/arm/plat-omap/omap_device.c
  105. +1 −0  arch/arm/plat-pxa/dma.c
  106. +1 −0  arch/arm/plat-pxa/pwm.c
  107. +1 −0  arch/arm/plat-s3c24xx/cpu-freq.c
  108. +1 −0  arch/arm/plat-s3c24xx/devs.c
  109. +1 −0  arch/arm/plat-s3c24xx/s3c2410-iotiming.c
  110. +1 −0  arch/arm/plat-s3c24xx/s3c2412-iotiming.c
  111. +1 −0  arch/arm/plat-samsung/adc.c
  112. +1 −0  arch/arm/plat-samsung/dev-fb.c
  113. +1 −0  arch/arm/plat-samsung/dev-i2c0.c
  114. +1 −0  arch/arm/plat-samsung/dev-i2c1.c
  115. +1 −0  arch/arm/plat-samsung/dev-nand.c
  116. +1 −0  arch/arm/plat-samsung/dev-usb.c
  117. +1 −0  arch/arm/plat-samsung/pm-check.c
  118. +1 −0  arch/arm/plat-samsung/pwm.c
  119. +1 −0  arch/arm/plat-stmp3xxx/dma.c
  120. +1 −0  arch/avr32/kernel/process.c
  121. +1 −0  arch/avr32/mach-at32ap/at32ap700x.c
  122. +1 −0  arch/avr32/mach-at32ap/extint.c
  123. +1 −0  arch/avr32/mach-at32ap/hsmc.c
  124. +1 −0  arch/avr32/mm/dma-coherent.c
  125. +1 −0  arch/avr32/mm/init.c
  126. +1 −0  arch/avr32/mm/ioremap.c
  127. +1 −1  arch/blackfin/include/asm/mmu_context.h
  128. +0 −1  arch/blackfin/kernel/ipipe.c
  129. +1 −0  arch/blackfin/kernel/process.c
  130. +1 −0  arch/blackfin/mach-common/pm.c
  131. +1 −0  arch/blackfin/mach-common/smp.c
  132. +1 −0  arch/blackfin/mm/init.c
  133. +1 −0  arch/blackfin/mm/isram-driver.c
  134. +1 −0  arch/blackfin/mm/sram-alloc.c
  135. +0 −1  arch/cris/arch-v10/drivers/i2c.c
  136. +0 −1  arch/cris/arch-v10/drivers/sync_serial.c
  137. +1 −1  arch/cris/arch-v10/kernel/process.c
  138. +0 −1  arch/cris/arch-v32/drivers/i2c.c
  139. +1 −0  arch/cris/arch-v32/drivers/pci/dma.c
  140. +0 −1  arch/cris/arch-v32/drivers/sync_serial.c
  141. +1 −1  arch/cris/arch-v32/kernel/process.c
  142. +1 −0  arch/cris/arch-v32/kernel/signal.c
  143. +0 −1  arch/cris/kernel/irq.c
  144. +1 −0  arch/cris/kernel/module.c
  145. +1 −0  arch/cris/kernel/profile.c
  146. +1 −0  arch/cris/mm/init.c
  147. +0 −1  arch/frv/kernel/irq.c
  148. +0 −1  arch/frv/kernel/sysctl.c
  149. +0 −1  arch/frv/mb93090-mb00/pci-dma.c
  150. +0 −1  arch/frv/mb93090-mb00/pci-irq.c
  151. +0 −1  arch/frv/mb93090-mb00/pci-vdk.c
  152. +1 −0  arch/frv/mm/dma-alloc.c
  153. +1 −0  arch/frv/mm/init.c
  154. +1 −1  arch/frv/mm/pgalloc.c
  155. +1 −1  arch/h8300/kernel/process.c
  156. +1 −1  arch/h8300/mm/init.c
  157. +0 −1  arch/h8300/mm/kmap.c
  158. +0 −1  arch/h8300/mm/memory.c
  159. +1 −0  arch/ia64/include/asm/dmi.h
  160. +1 −0  arch/ia64/kernel/acpi-ext.c
  161. +1 −0  arch/ia64/kernel/acpi.c
  162. +1 −0  arch/ia64/kernel/cpufreq/acpi-cpufreq.c
  163. +1 −0  arch/ia64/kernel/efi.c
  164. +1 −0  arch/ia64/kernel/iosapic.c
  165. +0 −1  arch/ia64/kernel/irq_ia64.c
  166. +1 −0  arch/ia64/kernel/mca.c
  167. +1 −0  arch/ia64/kernel/mca_drv.c
  168. +1 −0  arch/ia64/kernel/pci-swiotlb.c
  169. +1 −0  arch/ia64/kernel/perfmon.c
  170. +1 −1  arch/ia64/kernel/process.c
  171. +0 −1  arch/ia64/kernel/ptrace.c
  172. +1 −0  arch/ia64/kernel/topology.c
  173. +1 −1  arch/ia64/kernel/uncached.c
  174. +1 −1  arch/ia64/kvm/kvm-ia64.c
  175. +1 −0  arch/ia64/mm/discontig.c
  176. +0 −1  arch/ia64/mm/hugetlbpage.c
  177. +1 −0  arch/ia64/mm/tlb.c
  178. +1 −0  arch/ia64/sn/kernel/bte.c
  179. +1 −0  arch/ia64/sn/kernel/io_acpi_init.c
  180. +1 −0  arch/ia64/sn/kernel/io_common.c
  181. +1 −0  arch/ia64/sn/kernel/io_init.c
  182. +1 −0  arch/ia64/sn/kernel/irq.c
  183. +1 −0  arch/ia64/sn/kernel/msi_sn.c
  184. +1 −0  arch/ia64/sn/pci/pci_dma.c
  185. +1 −0  arch/ia64/sn/pci/pcibr/pcibr_provider.c
  186. +1 −0  arch/ia64/sn/pci/tioca_provider.c
  187. +1 −0  arch/ia64/sn/pci/tioce_provider.c
  188. +1 −0  arch/ia64/xen/grant-table.c
  189. +1 −1  arch/m32r/kernel/process.c
  190. +1 −0  arch/m32r/mm/init.c
  191. +0 −1  arch/m68k/bvme6000/rtc.c
  192. +1 −0  arch/m68k/kernel/dma.c
  193. +1 −1  arch/m68k/kernel/process.c
  194. +0 −1  arch/m68k/mac/misc.c
  195. +1 −0  arch/m68k/mm/init.c
  196. +1 −1  arch/m68k/mm/memory.c
  197. +1 −0  arch/m68k/mm/motorola.c
  198. +0 −1  arch/m68k/mvme16x/rtc.c
  199. +1 −0  arch/m68k/sun3/sun3dvma.c
  200. +0 −1  arch/m68k/sun3x/dvma.c
  201. +1 −0  arch/m68knommu/kernel/dma.c
  202. +1 −1  arch/m68knommu/kernel/process.c
  203. +1 −1  arch/m68knommu/mm/init.c
  204. +0 −1  arch/m68knommu/mm/kmap.c
  205. +0 −1  arch/m68knommu/mm/memory.c
  206. +0 −1  arch/microblaze/kernel/cpu/cpuinfo.c
  207. +1 −0  arch/microblaze/kernel/dma.c
  208. +0 −1  arch/microblaze/kernel/module.c
  209. +0 −1  arch/microblaze/kernel/of_platform.c
  210. +1 −0  arch/microblaze/kernel/sys_microblaze.c
  211. +1 −0  arch/microblaze/mm/consistent.c
  212. +1 −0  arch/microblaze/mm/init.c
  213. +1 −0  arch/microblaze/pci/pci-common.c
  214. +1 −0  arch/microblaze/pci/pci_32.c
  215. +1 −0  arch/mips/jazz/jazzdma.c
  216. +0 −1  arch/mips/kernel/irq.c
  217. +1 −1  arch/mips/kernel/linux32.c
  218. +0 −1  arch/mips/kernel/process.c
  219. +0 −1  arch/mips/kernel/rtlx.c
  220. +1 −0  arch/mips/kernel/smtc.c
  221. +1 −1  arch/mips/kernel/syscall.c
  222. +0 −1  arch/mips/mipssim/sim_int.c
  223. +1 −0  arch/mips/mm/dma-default.c
  224. +0 −1  arch/mips/mm/hugetlbpage.c
  225. +1 −0  arch/mips/mm/init.c
  226. +1 −0  arch/mips/mm/ioremap.c
  227. +0 −1  arch/mips/mti-malta/malta-int.c
  228. +0 −1  arch/mips/nxp/pnx833x/common/reset.c
  229. +0 −1  arch/mips/nxp/pnx8550/common/int.c
  230. +0 −1  arch/mips/nxp/pnx8550/common/proc.c
  231. +0 −1  arch/mips/nxp/pnx8550/common/reset.c
  232. +0 −1  arch/mips/pci/ops-titan-ht.c
  233. +1 −0  arch/mips/pmc-sierra/msp71xx/msp_prom.c
  234. +0 −1  arch/mips/pmc-sierra/yosemite/ht.c
  235. +0 −1  arch/mips/pmc-sierra/yosemite/irq.c
  236. +1 −0  arch/mips/powertv/asic/asic_devices.c
  237. +0 −1  arch/mips/powertv/asic/asic_int.c
  238. +0 −1  arch/mips/rb532/irq.c
  239. +0 −1  arch/mips/sgi-ip27/ip27-irq.c
  240. +0 −1  arch/mips/sgi-ip32/ip32-irq.c
  241. +0 −1  arch/mips/sibyte/bcm1480/irq.c
  242. +0 −1  arch/mips/sibyte/common/sb_tbprof.c
  243. +0 −1  arch/mips/sibyte/sb1250/irq.c
  244. +1 −0  arch/mips/txx9/generic/pci.c
  245. +1 −0  arch/mips/txx9/generic/setup.c
  246. +1 −0  arch/mips/txx9/generic/spi_eeprom.c
  247. +1 −0  arch/mips/txx9/rbtx4939/setup.c
  248. +1 −1  arch/mn10300/kernel/process.c
  249. +0 −1  arch/mn10300/kernel/setup.c
  250. +1 −0  arch/mn10300/mm/dma-alloc.c
  251. +1 −1  arch/mn10300/mm/init.c
  252. +1 −1  arch/mn10300/mm/pgtable.c
  253. +0 −1  arch/mn10300/unit-asb2305/pci-irq.c
  254. +1 −1  arch/parisc/hpux/fs.c
  255. +1 −0  arch/parisc/kernel/module.c
  256. +1 −1  arch/parisc/kernel/pci-dma.c
  257. +0 −1  arch/parisc/kernel/pci.c
  258. +1 −0  arch/parisc/kernel/process.c
  259. +0 −1  arch/parisc/kernel/signal32.c
  260. +0 −1  arch/parisc/kernel/smp.c
  261. +1 −0  arch/parisc/mm/init.c
  262. +1 −0  arch/powerpc/kernel/cacheinfo.c
  263. +1 −0  arch/powerpc/kernel/dma.c
  264. +1 −0  arch/powerpc/kernel/ibmebus.c
  265. +1 −0  arch/powerpc/kernel/kprobes.c
  266. +1 −0  arch/powerpc/kernel/lparcfg.c
  267. +0 −1  arch/powerpc/kernel/of_platform.c
  268. +1 −0  arch/powerpc/kernel/pci-common.c
  269. +1 −0  arch/powerpc/kernel/pci_32.c
  270. +1 −0  arch/powerpc/kernel/pci_dn.c
  271. +0 −1  arch/powerpc/kernel/proc_powerpc.c
  272. +1 −0  arch/powerpc/kernel/rtas.c
  273. +1 −0  arch/powerpc/kernel/rtas_flash.c
  274. +1 −0  arch/powerpc/kernel/rtasd.c
  275. +1 −0  arch/powerpc/kernel/smp-tbsync.c
  276. +0 −1  arch/powerpc/kernel/softemu8xx.c
  277. +1 −0  arch/powerpc/kernel/sys_ppc32.c
  278. +0 −1  arch/powerpc/kernel/traps.c
  279. +1 −0  arch/powerpc/kernel/vio.c
  280. +1 −0  arch/powerpc/kvm/44x.c
  281. +1 −0  arch/powerpc/kvm/book3s.c
  282. +1 −0  arch/powerpc/kvm/booke.c
  283. +1 −0  arch/powerpc/kvm/e500.c
  284. +1 −0  arch/powerpc/kvm/e500_tlb.c
  285. +1 −0  arch/powerpc/kvm/powerpc.c
  286. +1 −0  arch/powerpc/lib/devres.c
  287. +1 −0  arch/powerpc/mm/dma-noncoherent.c
  288. +1 −0  arch/powerpc/mm/hugetlbpage.c
  289. +1 −0  arch/powerpc/mm/init_32.c
  290. +1 −0  arch/powerpc/mm/init_64.c
  291. +1 −0  arch/powerpc/mm/mem.c
  292. +1 −0  arch/powerpc/mm/mmu_context_hash64.c
  293. +1 −0  arch/powerpc/mm/mmu_context_nohash.c
  294. +1 −0  arch/powerpc/mm/pgtable.c
  295. +1 −0  arch/powerpc/mm/pgtable_32.c
  296. +1 −0  arch/powerpc/mm/pgtable_64.c
  297. +0 −1  arch/powerpc/mm/subpage-prot.c
  298. +1 −0  arch/powerpc/oprofile/cell/spu_task_sync.c
  299. +1 −0  arch/powerpc/oprofile/cell/vma_map.c
  300. +1 −0  arch/powerpc/platforms/44x/warp.c
Sorry, we could not display the entire diff because too many files (4,208) changed.
View
1  Documentation/connector/cn_test.c
@@ -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>
View
1  arch/alpha/boot/bootp.c
@@ -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>
View
1  arch/alpha/boot/bootpz.c
@@ -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>
View
1  arch/alpha/boot/main.c
@@ -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>
View
1  arch/alpha/boot/misc.c
@@ -19,6 +19,7 @@
*/
#include <linux/kernel.h>
+#include <linux/slab.h>
#include <asm/uaccess.h>
View
1  arch/alpha/kernel/irq.c
@@ -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>
View
2  arch/alpha/kernel/osf_sys.c
@@ -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>
View
1  arch/alpha/kernel/pci-noop.c
@@ -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>
View
1  arch/alpha/kernel/pci-sysfs.c
@@ -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,
View
2  arch/alpha/kernel/pci_iommu.c
@@ -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>
View
2  arch/alpha/kernel/process.c
@@ -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>
View
1  arch/alpha/kernel/ptrace.c
@@ -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>
View
1  arch/alpha/kernel/smc37c669.c
@@ -3,7 +3,6 @@
*/
#include <linux/kernel.h>
-#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>
View
1  arch/alpha/kernel/smc37c93x.c
@@ -4,7 +4,6 @@
#include <linux/kernel.h>
-#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>
View
1  arch/alpha/kernel/srm_env.c
@@ -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>
View
1  arch/alpha/mm/init.c
@@ -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>
View
1  arch/arm/common/clkdev.c
@@ -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>
View
1  arch/arm/common/it8152.c
@@ -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>
View
1  arch/arm/kernel/irq.c
@@ -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>
View
1  arch/arm/kernel/kprobes.c
@@ -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>
View
2  arch/arm/kernel/module.c
@@ -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>
View
1  arch/arm/kernel/process.c
@@ -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>
View
2  arch/arm/kernel/sys_arm.c
@@ -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
View
1  arch/arm/lib/uaccess_with_memcpy.c
@@ -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>
View
1  arch/arm/mach-aaec2000/core.c
@@ -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>
View
1  arch/arm/mach-bcmring/dma.c
@@ -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>
View
1  arch/arm/mach-davinci/board-dm365-evm.c
@@ -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>
View
1  arch/arm/mach-davinci/dma.c
@@ -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>
View
1  arch/arm/mach-h720x/common.c
@@ -14,7 +14,6 @@
*/
#include <linux/sched.h>
-#include <linux/slab.h>
#include <linux/mman.h>
#include <linux/init.h>
#include <linux/interrupt.h>
View
1  arch/arm/mach-integrator/cpu.c
@@ -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>
View
1  arch/arm/mach-integrator/impd1.c
@@ -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>
View
2  arch/arm/mach-integrator/integrator_cp.c
@@ -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>
View
1  arch/arm/mach-integrator/pci_v3.c
@@ -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>
View
1  arch/arm/mach-iop13xx/pci.c
@@ -18,6 +18,7 @@
*/
#include <linux/pci.h>
+#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <asm/irq.h>
View
1  arch/arm/mach-iop32x/glantank.c
@@ -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>
View
1  arch/arm/mach-iop32x/iq31244.c
@@ -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>
View
1  arch/arm/mach-iop32x/iq80321.c
@@ -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>
View
1  arch/arm/mach-iop32x/n2100.c
@@ -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>
View
1  arch/arm/mach-iop33x/iq80331.c
@@ -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>
View
1  arch/arm/mach-iop33x/iq80332.c
@@ -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>
View
1  arch/arm/mach-ixp2000/enp2611.c
@@ -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>
View
1  arch/arm/mach-ixp2000/ixdp2400.c
@@ -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>
View
1  arch/arm/mach-ixp2000/ixdp2800.c
@@ -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>
View
1  arch/arm/mach-ixp2000/ixdp2x00.c
@@ -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>
View
1  arch/arm/mach-ixp2000/ixdp2x01.c
@@ -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>
View
1  arch/arm/mach-ixp2000/pci.c
@@ -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>
View
1  arch/arm/mach-ixp23xx/pci.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/avila-setup.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/coyote-setup.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/gateway7001-setup.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/gtwx5715-setup.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/ixdp425-setup.c
@@ -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>
View
1  arch/arm/mach-ixp4xx/ixp4xx_npe.c
@@ -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
View
1  arch/arm/mach-ixp4xx/wg302v2-setup.c
@@ -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>
View
1  arch/arm/mach-kirkwood/pcie.c
@@ -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>
View
1  arch/arm/mach-lh7a40x/clcd.c
@@ -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>
View
1  arch/arm/mach-mx3/mach-mx31moboard.c
@@ -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>
View
1  arch/arm/mach-mx3/mach-pcm037.c
@@ -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>
View
1  arch/arm/mach-mx3/mx31moboard-devboard.c
@@ -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>
View
1  arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -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>
View
1  arch/arm/mach-netx/fb.c
@@ -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>
View
1  arch/arm/mach-netx/xc.c
@@ -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>
View
1  arch/arm/mach-nomadik/gpio.c
@@ -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>
View
1  arch/arm/mach-ns9xxx/plat-serial8250.c
@@ -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>
View
1  arch/arm/mach-ns9xxx/processor-ns9360.c
@@ -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>
View
1  arch/arm/mach-omap1/mcbsp.c
@@ -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>
View
1  arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
@@ -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>
View
1  arch/arm/mach-omap2/iommu2.c
@@ -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>
View
1  arch/arm/mach-omap2/mcbsp.c
@@ -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>
View
1  arch/arm/mach-omap2/mux.c
@@ -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>
View
1  arch/arm/mach-omap2/pm-debug.c
@@ -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>
View
1  arch/arm/mach-omap2/pm34xx.c
@@ -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>
View
1  arch/arm/mach-orion5x/pci.c
@@ -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>
View
1  arch/arm/mach-pnx4008/dma.c
@@ -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>
View
1  arch/arm/mach-pnx4008/pm.c
@@ -19,6 +19,7 @@
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <asm/cacheflush.h>
View
1  arch/arm/mach-pxa/corgi_ssp.c
@@ -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>
View
1  arch/arm/mach-pxa/cpufreq-pxa3xx.c
@@ -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>
View
1  arch/arm/mach-pxa/mioa701.c
@@ -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>
View
1  arch/arm/mach-pxa/pm.c
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/suspend.h>
#include <linux/errno.h>
+#include <linux/slab.h>
#include <mach/pm.h>
View
1  arch/arm/mach-pxa/viper.c
@@ -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>
View
1  arch/arm/mach-realview/core.c
@@ -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>
View
1  arch/arm/mach-rpc/dma.c
@@ -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>
View
1  arch/arm/mach-s3c64xx/dma.c
@@ -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>
View
1  arch/arm/mach-sa1100/jornada720_ssp.c
@@ -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>
View
1  arch/arm/mach-sa1100/neponset.c
@@ -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>
View
1  arch/arm/mach-u300/dummyspichip.c
@@ -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
View
1  arch/arm/mach-u300/mmc.c
@@ -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"
View
1  arch/arm/mach-versatile/core.c
@@ -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>
View
1  arch/arm/mach-versatile/pci.c
@@ -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>
View
1  arch/arm/mach-w90x900/dev.c
@@ -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>
View
2  arch/arm/mm/dma-mapping.c
@@ -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>
View
1  arch/arm/mm/fault-armv.c
@@ -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>
View
1  arch/arm/mm/init.c
@@ -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>
View
1  arch/arm/mm/pgd.c
@@ -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>
View
1  arch/arm/plat-mxc/audmux-v2.c
@@ -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>
View
1  arch/arm/plat-mxc/pwm.c
@@ -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>
View
1  arch/arm/plat-omap/devices.c
@@ -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>
View
1  arch/arm/plat-omap/dma.c
@@ -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>
View
1  arch/arm/plat-omap/iommu-debug.c
@@ -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>
View
1  arch/arm/plat-omap/iommu.c
@@ -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>
View
1  arch/arm/plat-omap/iovmm.c
@@ -11,6 +11,7 @@
*/
#include <linux/err.h>
+#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/device.h>
#include <linux/scatterlist.h>
View
1  arch/arm/plat-omap/mailbox.c
@@ -25,6 +25,7 @@
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/delay.h>
+#include <linux/slab.h>
#include <plat/mailbox.h>
View
1  arch/arm/plat-omap/mcbsp.c
@@ -23,6 +23,7 @@
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <plat/dma.h>
#include <plat/mcbsp.h>
View
1  arch/arm/plat-omap/omap_device.c
@@ -79,6 +79,7 @@
#include <linux/kernel.h>
#include <linux/platform_device.h>
+#include <linux/slab.h>
#include <linux/err.h>
#include <linux/io.h>
View
1  arch/arm/plat-pxa/dma.c
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
View
1  arch/arm/plat-pxa/pwm.c
@@ -14,6 +14,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>
View
1  arch/arm/plat-s3c24xx/cpu-freq.c
@@ -23,6 +23,7 @@
#include <linux/sysdev.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
+#include <linux/slab.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
View
1  arch/arm/plat-s3c24xx/devs.c
@@ -20,6 +20,7 @@
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
View
1  arch/arm/plat-s3c24xx/s3c2410-iotiming.c
@@ -17,6 +17,7 @@
#include <linux/cpufreq.h>
#include <linux/seq_file.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <mach/map.h>
#include <mach/regs-mem.h>
View
1  arch/arm/plat-s3c24xx/s3c2412-iotiming.c
@@ -21,6 +21,7 @@
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/err.h>
+#include <linux/slab.h>
#include <linux/amba/pl093.h>
View
1  arch/arm/plat-samsung/adc.c
@@ -16,6 +16,7 @@
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/list.h>
+#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
View
1  arch/arm/plat-samsung/dev-fb.c
@@ -15,6 +15,7 @@
#include <linux/string.h>
#include <linux/platform_device.h>
#include <linux/fb.h>
+#include <linux/gfp.h>
#include <mach/irqs.h>
#include <mach/map.h>
View
1  arch/arm/plat-samsung/dev-i2c0.c
@@ -11,6 +11,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/platform_device.h>
View
1  arch/arm/plat-samsung/dev-i2c1.c
@@ -11,6 +11,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/platform_device.h>
View
1  arch/arm/plat-samsung/dev-nand.c
@@ -6,6 +6,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
View
1  arch/arm/plat-samsung/dev-usb.c
@@ -11,6 +11,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/platform_device.h>
View
1  arch/arm/plat-samsung/pm-check.c
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/ioport.h>
+#include <linux/slab.h>
#include <plat/pm.h>
View
1  arch/arm/plat-samsung/pwm.c
@@ -14,6 +14,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>
View
1  arch/arm/plat-stmp3xxx/dma.c
@@ -15,6 +15,7 @@
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
+#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/dmapool.h>
View
1  arch/avr32/kernel/process.c
@@ -11,6 +11,7 @@
#include <linux/fs.h>
#include <linux/pm.h>
#include <linux/ptrace.h>
+#include <linux/slab.h>
#include <linux/reboot.h>
#include <linux/tick.h>
#include <linux/uaccess.h>
View
1  arch/avr32/mach-at32ap/at32ap700x.c
@@ -12,6 +12,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
+#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/spi/spi.h>
#include <linux/usb/atmel_usba_udc.h>
View
1  arch/avr32/mach-at32ap/extint.c
@@ -14,6 +14,7 @@
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/random.h>
+#include <linux/slab.h>
#include <asm/io.h>
View
1  arch/avr32/mach-at32ap/hsmc.c
@@ -12,6 +12,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
+#include <linux/slab.h>
#include <asm/io.h>
#include <mach/smc.h>
View
1  arch/avr32/mm/dma-coherent.c
@@ -7,6 +7,7 @@
*/
#include <linux/dma-mapping.h>
+#include <linux/gfp.h>
#include <asm/addrspace.h>
#include <asm/cacheflush.h>
View
1  arch/avr32/mm/init.c
@@ -7,6 +7,7 @@
*/
#include <linux/kernel.h>
+#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/init.h>
View
1  arch/avr32/mm/ioremap.c
@@ -9,6 +9,7 @@
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <asm/pgtable.h>
#include <asm/addrspace.h>
View
2  arch/blackfin/include/asm/mmu_context.h
@@ -7,7 +7,7 @@
#ifndef __BLACKFIN_MMU_CONTEXT_H__
#define __BLACKFIN_MMU_CONTEXT_H__
-#include <linux/gfp.h>
+#include <linux/slab.h>
#include <linux/sched.h>
#include <asm/setup.h>
#include <asm/page.h>
View
1  arch/blackfin/kernel/ipipe.c
@@ -27,7 +27,6 @@
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/bitops.h>
-#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/kthread.h>
#include <linux/unistd.h>
View
1  arch/blackfin/kernel/process.c
@@ -11,6 +11,7 @@
#include <linux/unistd.h>
#include <linux/user.h>
#include <linux/uaccess.h>
+#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/tick.h>
#include <linux/fs.h>
View
1  arch/blackfin/mach-common/pm.c
@@ -11,6 +11,7 @@
#include <linux/suspend.h>
#include <linux/sched.h>
#include <linux/proc_fs.h>