mm: remove include/linux/bootmem.h
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Tue, 30 Oct 2018 22:09:49 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Oct 2018 15:54:16 +0000 (08:54 -0700)
commit57c8a661d95dff48dd9c2f2496139082bbaf241a
treea4d49d0232149047f9c0032e22b7fa779e75d61f
parent97ad1087efffed26cb00e310a927f9603332dfcb
mm: remove include/linux/bootmem.h

Move remaining definitions and declarations from include/linux/bootmem.h
into include/linux/memblock.h and remove the redundant header.

The includes were replaced with the semantic patch below and then
semi-automated removal of duplicated '#include <linux/memblock.h>

@@
@@
- #include <linux/bootmem.h>
+ #include <linux/memblock.h>

[sfr@canb.auug.org.au: dma-direct: fix up for the removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/20181002185342.133d1680@canb.auug.org.au
[sfr@canb.auug.org.au: powerpc: fix up for removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/20181005161406.73ef8727@canb.auug.org.au
[sfr@canb.auug.org.au: x86/kaslr, ACPI/NUMA: fix for linux/bootmem.h removal]
Link: http://lkml.kernel.org/r/20181008190341.5e396491@canb.auug.org.au
Link: http://lkml.kernel.org/r/1536927045-23536-30-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rich Felker <dalias@libc.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Serge Semin <fancer.lancer@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
275 files changed:
arch/alpha/kernel/core_cia.c
arch/alpha/kernel/core_irongate.c
arch/alpha/kernel/core_marvel.c
arch/alpha/kernel/core_titan.c
arch/alpha/kernel/core_tsunami.c
arch/alpha/kernel/pci-noop.c
arch/alpha/kernel/pci.c
arch/alpha/kernel/pci_iommu.c
arch/alpha/kernel/setup.c
arch/alpha/kernel/sys_nautilus.c
arch/alpha/mm/init.c
arch/alpha/mm/numa.c
arch/arc/kernel/unwind.c
arch/arc/mm/highmem.c
arch/arc/mm/init.c
arch/arm/kernel/devtree.c
arch/arm/kernel/setup.c
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mm/dma-mapping.c
arch/arm/mm/init.c
arch/arm/xen/mm.c
arch/arm/xen/p2m.c
arch/arm64/kernel/acpi.c
arch/arm64/kernel/acpi_numa.c
arch/arm64/kernel/setup.c
arch/arm64/mm/dma-mapping.c
arch/arm64/mm/init.c
arch/arm64/mm/kasan_init.c
arch/arm64/mm/numa.c
arch/c6x/kernel/setup.c
arch/c6x/mm/init.c
arch/h8300/kernel/setup.c
arch/h8300/mm/init.c
arch/hexagon/kernel/dma.c
arch/hexagon/kernel/setup.c
arch/hexagon/mm/init.c
arch/ia64/kernel/crash.c
arch/ia64/kernel/efi.c
arch/ia64/kernel/ia64_ksyms.c
arch/ia64/kernel/iosapic.c
arch/ia64/kernel/mca.c
arch/ia64/kernel/mca_drv.c
arch/ia64/kernel/setup.c
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/topology.c
arch/ia64/kernel/unwind.c
arch/ia64/mm/contig.c
arch/ia64/mm/discontig.c
arch/ia64/mm/init.c
arch/ia64/mm/numa.c
arch/ia64/mm/tlb.c
arch/ia64/pci/pci.c
arch/ia64/sn/kernel/bte.c
arch/ia64/sn/kernel/io_common.c
arch/ia64/sn/kernel/setup.c
arch/m68k/atari/stram.c
arch/m68k/coldfire/m54xx.c
arch/m68k/kernel/setup_mm.c
arch/m68k/kernel/setup_no.c
arch/m68k/kernel/uboot.c
arch/m68k/mm/init.c
arch/m68k/mm/mcfmmu.c
arch/m68k/mm/motorola.c
arch/m68k/mm/sun3mmu.c
arch/m68k/sun3/config.c
arch/m68k/sun3/dvma.c
arch/m68k/sun3/mmu_emu.c
arch/m68k/sun3/sun3dvma.c
arch/m68k/sun3x/dvma.c
arch/microblaze/mm/consistent.c
arch/microblaze/mm/init.c
arch/microblaze/pci/pci-common.c
arch/mips/ar7/memory.c
arch/mips/ath79/setup.c
arch/mips/bcm63xx/prom.c
arch/mips/bcm63xx/setup.c
arch/mips/bmips/setup.c
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/dec/prom/memory.c
arch/mips/emma/common/prom.c
arch/mips/fw/arc/memory.c
arch/mips/jazz/jazzdma.c
arch/mips/kernel/crash.c
arch/mips/kernel/crash_dump.c
arch/mips/kernel/prom.c
arch/mips/kernel/setup.c
arch/mips/kernel/traps.c
arch/mips/kernel/vpe.c
arch/mips/kvm/commpage.c
arch/mips/kvm/dyntrans.c
arch/mips/kvm/emulate.c
arch/mips/kvm/interrupt.c
arch/mips/kvm/mips.c
arch/mips/lantiq/prom.c
arch/mips/lasat/prom.c
arch/mips/loongson64/common/init.c
arch/mips/loongson64/loongson-3/numa.c
arch/mips/mm/init.c
arch/mips/mm/pgtable-32.c
arch/mips/mti-malta/malta-memory.c
arch/mips/netlogic/xlp/dt.c
arch/mips/pci/pci-legacy.c
arch/mips/pci/pci.c
arch/mips/ralink/of.c
arch/mips/rb532/prom.c
arch/mips/sgi-ip27/ip27-memory.c
arch/mips/sibyte/common/cfe.c
arch/mips/sibyte/swarm/setup.c
arch/mips/txx9/rbtx4938/prom.c
arch/nds32/kernel/setup.c
arch/nds32/mm/highmem.c
arch/nds32/mm/init.c
arch/nios2/kernel/prom.c
arch/nios2/kernel/setup.c
arch/nios2/mm/init.c
arch/openrisc/kernel/setup.c
arch/openrisc/mm/init.c
arch/parisc/mm/init.c
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/lib/alloc.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/mem.c
arch/powerpc/mm/mmu_context_nohash.c
arch/powerpc/mm/numa.c
arch/powerpc/platforms/powermac/nvram.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/ps3/setup.c
arch/powerpc/sysdev/msi_bitmap.c
arch/riscv/mm/init.c
arch/s390/kernel/crash_dump.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/kernel/topology.c
arch/s390/kernel/vdso.c
arch/s390/mm/extmem.c
arch/s390/mm/init.c
arch/s390/mm/vmem.c
arch/s390/numa/mode_emu.c
arch/s390/numa/numa.c
arch/s390/numa/toptree.c
arch/sh/mm/init.c
arch/sh/mm/ioremap_fixed.c
arch/sparc/kernel/mdesc.c
arch/sparc/kernel/prom_32.c
arch/sparc/kernel/setup_64.c
arch/sparc/kernel/smp_64.c
arch/sparc/mm/init_32.c
arch/sparc/mm/init_64.c
arch/sparc/mm/srmmu.c
arch/um/drivers/net_kern.c
arch/um/drivers/vector_kern.c
arch/um/kernel/initrd.c
arch/um/kernel/mem.c
arch/um/kernel/physmem.c
arch/unicore32/kernel/hibernate.c
arch/unicore32/kernel/setup.c
arch/unicore32/mm/init.c
arch/unicore32/mm/mmu.c
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/acpi/sleep.c
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/e820.c
arch/x86/kernel/mpparse.c
arch/x86/kernel/pci-dma.c
arch/x86/kernel/pci-swiotlb.c
arch/x86/kernel/pvclock.c
arch/x86/kernel/setup.c
arch/x86/kernel/setup_percpu.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/tce_64.c
arch/x86/mm/amdtopology.c
arch/x86/mm/fault.c
arch/x86/mm/highmem_32.c
arch/x86/mm/init.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
arch/x86/mm/ioremap.c
arch/x86/mm/kasan_init_64.c
arch/x86/mm/kaslr.c
arch/x86/mm/numa.c
arch/x86/mm/numa_32.c
arch/x86/mm/numa_64.c
arch/x86/mm/numa_emulation.c
arch/x86/mm/pageattr-test.c
arch/x86/mm/pageattr.c
arch/x86/mm/pat.c
arch/x86/mm/physaddr.c
arch/x86/pci/i386.c
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_64.c
arch/x86/platform/efi/quirks.c
arch/x86/platform/olpc/olpc_dt.c
arch/x86/power/hibernate_32.c
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/p2m.c
arch/xtensa/kernel/pci.c
arch/xtensa/mm/cache.c
arch/xtensa/mm/init.c
arch/xtensa/mm/kasan_init.c
arch/xtensa/mm/mmu.c
arch/xtensa/platforms/iss/network.c
arch/xtensa/platforms/iss/setup.c
block/blk-settings.c
block/bounce.c
drivers/acpi/numa.c
drivers/acpi/tables.c
drivers/base/platform.c
drivers/clk/ti/clk.c
drivers/firmware/dmi_scan.c
drivers/firmware/efi/apple-properties.c
drivers/firmware/iscsi_ibft_find.c
drivers/firmware/memmap.c
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu_v1.c
drivers/macintosh/smu.c
drivers/mtd/ar7part.c
drivers/net/arcnet/arc-rimi.c
drivers/net/arcnet/com20020-isa.c
drivers/net/arcnet/com90io.c
drivers/of/fdt.c
drivers/of/unittest.c
drivers/s390/char/fs3270.c
drivers/s390/char/tty3270.c
drivers/s390/cio/cmf.c
drivers/s390/virtio/virtio_ccw.c
drivers/sfi/sfi_core.c
drivers/tty/serial/cpm_uart/cpm_uart_core.c
drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c
drivers/usb/early/xhci-dbc.c
drivers/xen/balloon.c
drivers/xen/events/events_base.c
drivers/xen/grant-table.c
drivers/xen/swiotlb-xen.c
drivers/xen/xen-selfballoon.c
fs/dcache.c
fs/inode.c
fs/namespace.c
fs/proc/kcore.c
fs/proc/page.c
fs/proc/vmcore.c
include/linux/bootmem.h [deleted file]
include/linux/memblock.h
init/main.c
kernel/dma/direct.c
kernel/dma/swiotlb.c
kernel/futex.c
kernel/locking/qspinlock_paravirt.h
kernel/pid.c
kernel/power/snapshot.c
kernel/printk/printk.c
kernel/profile.c
lib/cpumask.c
mm/hugetlb.c
mm/kasan/kasan_init.c
mm/kmemleak.c
mm/memblock.c
mm/memory_hotplug.c
mm/page_alloc.c
mm/page_ext.c
mm/page_idle.c
mm/page_owner.c
mm/percpu.c
mm/sparse-vmemmap.c
mm/sparse.c
net/ipv4/inet_hashtables.c
net/ipv4/tcp.c
net/ipv4/udp.c
net/sctp/protocol.c
net/xfrm/xfrm_hash.c