powerpc: Remove superfluous bootmem includes
authorAnton Blanchard <anton@samba.org>
Wed, 17 Sep 2014 12:15:35 +0000 (22:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 9 Nov 2014 22:59:26 +0000 (09:59 +1100)
Lots of places included bootmem.h even when not using bootmem.

Signed-off-by: Anton Blanchard <anton@samba.org>
Tested-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
26 files changed:
arch/powerpc/kernel/crash_dump.c
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/rtas_pci.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/vdso.c
arch/powerpc/kvm/book3s_hv_builtin.c
arch/powerpc/mm/init_32.c
arch/powerpc/mm/init_64.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/platforms/cell/celleb_scc_epci.c
arch/powerpc/platforms/cell/celleb_scc_pciex.c
arch/powerpc/platforms/maple/pci.c
arch/powerpc/platforms/powermac/pci.c
arch/powerpc/platforms/powernv/eeh-ioda.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/sysdev/fsl_msi.c
arch/powerpc/sysdev/ipic.c
arch/powerpc/sysdev/mpic.c
arch/powerpc/sysdev/mpic_pasemi_msi.c
arch/powerpc/sysdev/mpic_u3msi.c
arch/powerpc/sysdev/ppc4xx_msi.c
arch/powerpc/sysdev/ppc4xx_pci.c
arch/powerpc/sysdev/qe_lib/qe.c
arch/powerpc/sysdev/qe_lib/qe_ic.c
arch/powerpc/sysdev/uic.c

index c78e6dac4d7de2842c1d679691373eb53762057a..cfa0f81a5bb049da21c8ff33e149541843df1184 100644 (file)
@@ -12,7 +12,6 @@
 #undef DEBUG
 
 #include <linux/crash_dump.h>
-#include <linux/bootmem.h>
 #include <linux/io.h>
 #include <linux/memblock.h>
 #include <asm/code-patching.h>
index 8d87bb162ecd2ae38e684a672cc0c3219ba1eab3..45096033d37bf7082bfe80dd7a25c782a4b1943a 100644 (file)
@@ -50,7 +50,6 @@
 #include <linux/list.h>
 #include <linux/radix-tree.h>
 #include <linux/mutex.h>
-#include <linux/bootmem.h>
 #include <linux/pci.h>
 #include <linux/debugfs.h>
 #include <linux/of.h>
index 155013da27e05cb801ba961b102d41f3edbfb48d..ba0f2d6fc27ff32f34f3d4ac0aebc02b90cce5a6 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/pci.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/export.h>
 #include <linux/mm.h>
 #include <linux/list.h>
index 7c55b86206b3f7ed4ad2846437e5867f97b21861..ce230da2c015eb828a859aeb8324c1a4158d949e 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/pci.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 
 #include <asm/io.h>
 #include <asm/pgtable.h>
index 88a36e64bf9b7ffa5b4cb3bb0cb6e068309f4980..ba3a3c3b8c66bf72d4c0e12fc525b92c1c55efb4 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/delay.h>
 #include <linux/initrd.h>
 #include <linux/tty.h>
-#include <linux/bootmem.h>
 #include <linux/seq_file.h>
 #include <linux/root_dev.h>
 #include <linux/cpu.h>
index f174351842cf449cfcdcc9117ec183e951542af7..305eb0d9b76882d44e9f72805c951e1fa8c68b05 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/user.h>
 #include <linux/elf.h>
 #include <linux/security.h>
-#include <linux/bootmem.h>
 #include <linux/memblock.h>
 
 #include <asm/pgtable.h>
index e64868c0b8deb967ac90d45243530f8121879c71..3f1bb5a36c2769d2482ab53f9859f0987818337d 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/spinlock.h>
-#include <linux/bootmem.h>
 #include <linux/init.h>
 #include <linux/memblock.h>
 #include <linux/sizes.h>
index 3b3100433c18f0c8101490b8b8ac2c1fc2f3c2d5..a10be665b645fc3e85a4e3ee3bbcfb69a67ddc5a 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/mm.h>
 #include <linux/stddef.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/highmem.h>
 #include <linux/initrd.h>
 #include <linux/pagemap.h>
index 3481556a1880407db79fe32527289040eb9b6d77..10471f9bb63f1c6eed748a553259f6653f119e0f 100644 (file)
@@ -34,7 +34,6 @@
 #include <linux/vmalloc.h>
 #include <linux/init.h>
 #include <linux/delay.h>
-#include <linux/bootmem.h>
 #include <linux/highmem.h>
 #include <linux/idr.h>
 #include <linux/nodemask.h>
index aa9173745cf42f88aec1acd58cdc5c1398b9be48..e0c71854317412e60671b5074fe07bcf91f47b38 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/swap.h>
 #include <linux/stddef.h>
 #include <linux/vmalloc.h>
-#include <linux/bootmem.h>
 #include <linux/memblock.h>
 #include <linux/slab.h>
 
@@ -51,6 +50,7 @@
 #include <asm/cputable.h>
 #include <asm/sections.h>
 #include <asm/firmware.h>
+#include <asm/dma.h>
 
 #include "mmu_decl.h"
 
index 844c0facb4f7ee6547f375741e78b3c22507dfda..9438bbed402f80966dde168941d507359f39653d 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/pci_regs.h>
-#include <linux/bootmem.h>
 
 #include <asm/io.h>
 #include <asm/irq.h>
index 4278acfa2edef7441a720233912acc2e0f246e2e..f223875980405ef6547f6dd30b6645990c27e120 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 
index f7136aae8bbf9d5ca51c33a2fd46e61a73aeaea4..d3a13067ec426ec3472a7dadaa2ea1dbedccac05 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/delay.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/irq.h>
 
 #include <asm/sections.h>
index 7e868ccf3b0d9451ad7efdf0cf0a6f01bb7b4f7a..04702db35d45834bc36f302a735895d2c1410bd3 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/delay.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/irq.h>
 #include <linux/of_pci.h>
 
index eba9cb10619ceac9108d09036b97528d2a03e45f..db3803e21483ec73d13529add9e9b61032b44f7a 100644 (file)
@@ -11,7 +11,6 @@
  * (at your option) any later version.
  */
 
-#include <linux/bootmem.h>
 #include <linux/debugfs.h>
 #include <linux/delay.h>
 #include <linux/io.h>
index b2187d0068b876e6909376c81d390cbf7b8bad00..ba7452708db3275fe85179da7f5b4e4c04759a01 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/delay.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/bootmem.h>
 #include <linux/irq.h>
 #include <linux/io.h>
 #include <linux/msi.h>
index de40b48b460e83a8aaec5168c8a4a1f025d8dd38..8f37204bf94f66b063d122f99efabf936b00dfae 100644 (file)
@@ -13,7 +13,6 @@
  *
  */
 #include <linux/irq.h>
-#include <linux/bootmem.h>
 #include <linux/msi.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
index b50f97811c25187db2408e18495bacf0de625537..b28733727ed3cc705b2fa2361aed4e38f1b61962 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/signal.h>
 #include <linux/syscore_ops.h>
 #include <linux/device.h>
-#include <linux/bootmem.h>
 #include <linux/spinlock.h>
 #include <linux/fsl_devices.h>
 #include <asm/irq.h>
index 89cec0ed6a58acc9104ef2727d7313f5e9031451..c4648ad5c1f36b9fba93a53fbe6d361fbbbd2573 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/irq.h>
 #include <linux/smp.h>
 #include <linux/interrupt.h>
-#include <linux/bootmem.h>
 #include <linux/spinlock.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
index 15dccd35fa11a9d1fae5f1ca3fad180983693165..428de9d23120b2df54db37dab05af3fed883031a 100644 (file)
@@ -16,7 +16,6 @@
 #undef DEBUG
 
 #include <linux/irq.h>
-#include <linux/bootmem.h>
 #include <linux/msi.h>
 #include <asm/mpic.h>
 #include <asm/prom.h>
index 623d7fba15b4d3c22d9bba0299bc516a9d85a6be..4ce8f54f234c42d4d8ab887099ce51d7cbba7e2a 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <linux/irq.h>
-#include <linux/bootmem.h>
 #include <linux/msi.h>
 #include <asm/mpic.h>
 #include <asm/prom.h>
index 22b5200636e7f90299702d64d6b63ea1a5fe228f..a59f2890897a9d8013510ea0542311fbb75cfb4a 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include <linux/irq.h>
-#include <linux/bootmem.h>
 #include <linux/pci.h>
 #include <linux/msi.h>
 #include <linux/of_platform.h>
index df6e2fc4ff926c1bceeb6c978f6aef519fae5f62..086aca69ecae39cf773dfb8fb9675d5843a58fd6 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/of.h>
-#include <linux/bootmem.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
 
index 238a07b97f2cb5c54cc2eec6a59663b4a8c3f3a2..b584debbcd9c45bf273fa5c575636be4ddc91334 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/spinlock.h>
 #include <linux/mm.h>
 #include <linux/interrupt.h>
-#include <linux/bootmem.h>
 #include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/ioport.h>
index b2b87c30e2665d1e4d133f284a6d2f72d5b77cf3..543765e1ef14e6f61c6b97b1cf0fdc9eabba99ec 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/sched.h>
 #include <linux/signal.h>
 #include <linux/device.h>
-#include <linux/bootmem.h>
 #include <linux/spinlock.h>
 #include <asm/irq.h>
 #include <asm/io.h>
index 92033936a8f75858904f2474368306a2efa34ecf..7c37157d4c24c5bfe234fb1eeda24924e65a1e8d 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/sched.h>
 #include <linux/signal.h>
 #include <linux/device.h>
-#include <linux/bootmem.h>
 #include <linux/spinlock.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>