]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mm: remove unneeded includes of <asm/pgalloc.h>
authorMike Rapoport <rppt@linux.ibm.com>
Fri, 7 Aug 2020 06:22:28 +0000 (23:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 Aug 2020 18:33:26 +0000 (11:33 -0700)
Patch series "mm: cleanup usage of <asm/pgalloc.h>"

Most architectures have very similar versions of pXd_alloc_one() and
pXd_free_one() for intermediate levels of page table.  These patches add
generic versions of these functions in <asm-generic/pgalloc.h> and enable
use of the generic functions where appropriate.

In addition, functions declared and defined in <asm/pgalloc.h> headers are
used mostly by core mm and early mm initialization in arch and there is no
actual reason to have the <asm/pgalloc.h> included all over the place.
The first patch in this series removes unneeded includes of
<asm/pgalloc.h>

In the end it didn't work out as neatly as I hoped and moving
pXd_alloc_track() definitions to <asm-generic/pgalloc.h> would require
unnecessary changes to arches that have custom page table allocations, so
I've decided to move lib/ioremap.c to mm/ and make pgalloc-track.h local
to mm/.

This patch (of 8):

In most cases <asm/pgalloc.h> header is required only for allocations of
page table memory.  Most of the .c files that include that header do not
use symbols declared in <asm/pgalloc.h> and do not require that header.

As for the other header files that used to include <asm/pgalloc.h>, it is
possible to move that include into the .c file that actually uses symbols
from <asm/pgalloc.h> and drop the include from the header file.

The process was somewhat automated using

sed -i -E '/[<"]asm\/pgalloc\.h/d' \
                $(grep -L -w -f /tmp/xx \
                        $(git grep -E -l '[<"]asm/pgalloc\.h'))

where /tmp/xx contains all the symbols defined in
arch/*/include/asm/pgalloc.h.

[rppt@linux.ibm.com: fix powerpc warning]

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> [m68k]
Cc: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Link: http://lkml.kernel.org/r/20200627143453.31835-1-rppt@kernel.org
Link: http://lkml.kernel.org/r/20200627143453.31835-2-rppt@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
125 files changed:
arch/alpha/include/asm/tlbflush.h
arch/alpha/kernel/core_irongate.c
arch/alpha/kernel/core_marvel.c
arch/alpha/kernel/core_titan.c
arch/alpha/kernel/machvec_impl.h
arch/alpha/kernel/smp.c
arch/alpha/mm/numa.c
arch/arc/mm/fault.c
arch/arc/mm/init.c
arch/arm/include/asm/tlb.h
arch/arm/kernel/machine_kexec.c
arch/arm/kernel/smp.c
arch/arm/kernel/suspend.c
arch/arm/mach-omap2/omap-mpuss-lowpower.c
arch/arm/mm/hugetlbpage.c
arch/arm/mm/mmu.c
arch/arm64/kernel/smp.c
arch/arm64/mm/hugetlbpage.c
arch/arm64/mm/ioremap.c
arch/arm64/mm/mmu.c
arch/csky/kernel/smp.c
arch/ia64/include/asm/tlb.h
arch/ia64/kernel/process.c
arch/ia64/kernel/smp.c
arch/ia64/kernel/smpboot.c
arch/ia64/mm/contig.c
arch/ia64/mm/discontig.c
arch/ia64/mm/hugetlbpage.c
arch/ia64/mm/tlb.c
arch/m68k/include/asm/mmu_context.h
arch/m68k/kernel/dma.c
arch/m68k/kernel/traps.c
arch/m68k/mm/cache.c
arch/m68k/mm/fault.c
arch/m68k/mm/kmap.c
arch/m68k/mm/mcfmmu.c
arch/m68k/mm/memory.c
arch/m68k/sun3x/dvma.c
arch/microblaze/include/asm/tlbflush.h
arch/microblaze/kernel/process.c
arch/microblaze/kernel/signal.c
arch/mips/sgi-ip32/ip32-memory.c
arch/openrisc/include/asm/tlbflush.h
arch/openrisc/kernel/or32_ksyms.c
arch/parisc/include/asm/mmu_context.h
arch/parisc/kernel/cache.c
arch/parisc/kernel/pci-dma.c
arch/parisc/kernel/process.c
arch/parisc/kernel/signal.c
arch/parisc/kernel/smp.c
arch/parisc/mm/hugetlbpage.c
arch/parisc/mm/ioremap.c
arch/powerpc/include/asm/tlb.h
arch/powerpc/mm/book3s64/hash_hugetlbpage.c
arch/powerpc/mm/book3s64/hash_pgtable.c
arch/powerpc/mm/book3s64/hash_tlb.c
arch/powerpc/mm/book3s64/radix_hugetlbpage.c
arch/powerpc/mm/init_32.c
arch/powerpc/mm/kasan/8xx.c
arch/powerpc/mm/kasan/book3s_32.c
arch/powerpc/mm/mem.c
arch/powerpc/mm/nohash/40x.c
arch/powerpc/mm/nohash/8xx.c
arch/powerpc/mm/nohash/fsl_booke.c
arch/powerpc/mm/nohash/kaslr_booke.c
arch/powerpc/mm/nohash/tlb.c
arch/powerpc/mm/pgtable.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/mm/ptdump/hashpagetable.c
arch/powerpc/mm/ptdump/ptdump.c
arch/powerpc/platforms/pseries/cmm.c
arch/riscv/mm/fault.c
arch/s390/include/asm/tlb.h
arch/s390/include/asm/tlbflush.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/ptrace.c
arch/s390/kvm/diag.c
arch/s390/kvm/priv.c
arch/s390/kvm/pv.c
arch/s390/mm/cmm.c
arch/s390/mm/mmap.c
arch/s390/mm/pgtable.c
arch/sh/kernel/idle.c
arch/sh/kernel/machine_kexec.c
arch/sh/mm/cache-sh3.c
arch/sh/mm/cache-sh7705.c
arch/sh/mm/hugetlbpage.c
arch/sh/mm/init.c
arch/sh/mm/ioremap_fixed.c
arch/sh/mm/tlb-sh3.c
arch/sparc/include/asm/ide.h
arch/sparc/include/asm/tlb_64.h
arch/sparc/kernel/leon_smp.c
arch/sparc/kernel/process_32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/smp_32.c
arch/sparc/kernel/smp_64.c
arch/sparc/kernel/sun4m_irq.c
arch/sparc/mm/highmem.c
arch/sparc/mm/io-unit.c
arch/sparc/mm/iommu.c
arch/sparc/mm/tlb.c
arch/x86/ia32/ia32_aout.c
arch/x86/include/asm/mmu_context.h
arch/x86/kernel/alternative.c
arch/x86/kernel/apic/apic.c
arch/x86/kernel/mpparse.c
arch/x86/kernel/traps.c
arch/x86/mm/fault.c
arch/x86/mm/hugetlbpage.c
arch/x86/mm/kaslr.c
arch/x86/mm/pgtable_32.c
arch/x86/mm/pti.c
arch/x86/platform/uv/bios_uv.c
arch/xtensa/kernel/xtensa_ksyms.c
arch/xtensa/mm/cache.c
arch/xtensa/mm/fault.c
drivers/block/xen-blkback/common.h
drivers/iommu/ipmmu-vmsa.c
drivers/xen/balloon.c
drivers/xen/privcmd.c
fs/binfmt_elf_fdpic.c
include/asm-generic/tlb.h
mm/hugetlb.c
mm/sparse.c

index f8b492408f514993fb439a746e0eb3cf4787d46a..94dc37cf873a7515c350ce27d6f290031636819d 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <asm/compiler.h>
-#include <asm/pgalloc.h>
 
 #ifndef __EXTERN_INLINE
 #define __EXTERN_INLINE extern inline
index a9fd133a7fb2aad635d4d2782be5569e10251e2d..72af1e72d833193a678bb1a1122c810d67dcfd31 100644 (file)
@@ -302,7 +302,6 @@ irongate_init_arch(void)
 #include <linux/agp_backend.h>
 #include <linux/agpgart.h>
 #include <linux/export.h>
-#include <asm/pgalloc.h>
 
 #define GET_PAGE_DIR_OFF(addr) (addr >> 22)
 #define GET_PAGE_DIR_IDX(addr) (GET_PAGE_DIR_OFF(addr))
index 1db9d0eb292211882aa6eb350024c7966415d9b7..4c80d992a6594a4e95a6fedeedcdad9015873311 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/ptrace.h>
 #include <asm/smp.h>
 #include <asm/gct.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/vga.h>
 
index 2a2820fb1be63daa7ddf77aa66143dda4151e7fb..77f5d68ed04bf754a43f02b4e88c92d167952ffb 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <asm/ptrace.h>
 #include <asm/smp.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/vga.h>
 
index 38f045ec5cd296a168d61b2bc2bf7734572cb28a..393d5d6ca5d28ae85151d82285e04220543fa18d 100644 (file)
@@ -7,8 +7,6 @@
  * This file has goodies to help simplify instantiation of machine vectors.
  */
 
-#include <asm/pgalloc.h>
-
 /* Whee.  These systems don't have an HAE:
        IRONGATE, MARVEL, POLARIS, TSUNAMI, TITAN, WILDFIRE
    Fix things up for the GENERIC kernel by defining the HAE address
index 631cc17410d1508cfdf0a0dc3dcc34c6adac5483..f4dd9f3f30010ba5f62d0bfa10ada7876837d3fa 100644 (file)
@@ -36,7 +36,6 @@
 
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/tlbflush.h>
 
index 5ad6087de1d65140e589c90b24214da6ceef97bf..0636e254a22feeed7684e3f85777281d5c107d5b 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/module.h>
 
 #include <asm/hwrpb.h>
-#include <asm/pgalloc.h>
 #include <asm/sections.h>
 
 pg_data_t node_data[MAX_NUMNODES];
index 72f5405a7ec59de4655c2edd0036c210ed19a92c..7287c793d1c9de1c9bd3f887923fe923474421ea 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/kdebug.h>
 #include <linux/perf_event.h>
 #include <linux/mm_types.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu.h>
 
 /*
index e7bdc2ac1c87c5e183c467f636e0308b3d43cc36..f886ac69d8ada101fc6bf14f34f0293cd732a032 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/module.h>
 #include <linux/highmem.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/sections.h>
 #include <asm/arcregs.h>
 
index 4d4e7b6aabff6d5a930f3b857e2f03812e961bbc..9415222b49ad395d6274d874db06e0f6bd113c5a 100644 (file)
@@ -27,7 +27,6 @@
 #else /* !CONFIG_MMU */
 
 #include <linux/swap.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 
 static inline void __tlb_remove_table(void *_table)
index 974b6c64d3e6fb5f471dfe8a8b38d121cd80874b..5d84ad333f050aa6cd85446cedc3613a873d5e82 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/irq.h>
 #include <linux/memblock.h>
 #include <linux/of_fdt.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
 #include <asm/fncpy.h>
index 9a6432557871fecb3b7ec36416d359372cfb3859..5d9da61eff6225bf46053954ca1754ec51593202 100644 (file)
@@ -37,7 +37,6 @@
 #include <asm/idmap.h>
 #include <asm/topology.h>
 #include <asm/mmu_context.h>
-#include <asm/pgalloc.h>
 #include <asm/procinfo.h>
 #include <asm/processor.h>
 #include <asm/sections.h>
index d2c9338d74e8157d7c4d191d45efd47d59873546..24bd20564be7764771bc2aa9643af952fa74ba4c 100644 (file)
@@ -7,7 +7,6 @@
 #include <asm/bugs.h>
 #include <asm/cacheflush.h>
 #include <asm/idmap.h>
-#include <asm/pgalloc.h>
 #include <asm/memory.h>
 #include <asm/smp_plat.h>
 #include <asm/suspend.h>
index 67fa28532a3a80c681265e915fa1db57006b575e..9fba98c2313ad4aed0a5ba4033daddb5900fe7db 100644 (file)
@@ -42,7 +42,6 @@
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
 #include <asm/smp_scu.h>
-#include <asm/pgalloc.h>
 #include <asm/suspend.h>
 #include <asm/virt.h>
 #include <asm/hardware/cache-l2x0.h>
index a1e5aace897a30a3fd5160e59282ce72446906fa..dd7a0277c5c0946b1a28973b2d0bebe510692591 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/mman.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
-#include <asm/pgalloc.h>
 
 /*
  * On ARM, huge pages are backed by pmd's rather than pte's, so we do a lot
index cc3c9a6a111307ac0edf1c3c7c0d46bbfa368651..c36f977b2ccb2221e0fb093be8acb18a0efabd42 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/traps.h>
 #include <asm/procinfo.h>
 #include <asm/memory.h>
+#include <asm/pgalloc.h>
 
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
index e43a8ff19f0f60e12b3631e5b2ae030c6c9359c1..8059d50bc8cbc30bb85a9db6ead7d1b35eb5befa 100644 (file)
@@ -43,7 +43,6 @@
 #include <asm/kvm_mmu.h>
 #include <asm/mmu_context.h>
 #include <asm/numa.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/smp_plat.h>
 #include <asm/sections.h>
index aa421bf4956eda0499692582f69823843dcc33ef..55ecf6de9ff771cc04c1b5ec8a45ee68f0fd8f87 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/mman.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
-#include <asm/pgalloc.h>
 
 /*
  * HugeTLB Support Matrix
index 9be71bee902ca890c911ec864b2c869724fcc57b..b5e83c46b23e7cf9cf5c3883e67527eb90dc60cd 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/fixmap.h>
 #include <asm/tlbflush.h>
-#include <asm/pgalloc.h>
 
 static void __iomem *__ioremap_caller(phys_addr_t phys_addr, size_t size,
                                      pgprot_t prot, void *caller)
index 1df25f26571d0f4d36bf16881593097f923c94a7..cafefb147a5ecd0c8fcd343884d12e77b768c355 100644 (file)
@@ -35,6 +35,7 @@
 #include <asm/mmu_context.h>
 #include <asm/ptdump.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>
 
 #define NO_BLOCK_MAPPINGS      BIT(0)
 #define NO_CONT_MAPPINGS       BIT(1)
index e7425e6b041931b3c435c71459e206067c548862..041d0de6a1b6771de342bf1ed74292f93f87d872 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/traps.h>
 #include <asm/sections.h>
 #include <asm/mmu_context.h>
-#include <asm/pgalloc.h>
 #ifdef CONFIG_CPU_HAS_FPU
 #include <abi/fpu.h>
 #endif
index f1f257d632b3722d767566680fc63320a4150359..8d9da6f08a62ec5ec12d389dc2350958e943ad97 100644 (file)
@@ -42,7 +42,6 @@
 #include <linux/pagemap.h>
 #include <linux/swap.h>
 
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/tlbflush.h>
 
index 7a4de9d994c5a65d8ffc977928adc0ed294da0ce..ec0b40f6e9c6eb7b02b321f60aaa17857d12919c 100644 (file)
@@ -40,7 +40,6 @@
 #include <asm/elf.h>
 #include <asm/irq.h>
 #include <asm/kexec.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/sal.h>
 #include <asm/switch_to.h>
index bbfd421e6deb1a578813b94e4b06b4ea78de8a04..0e27420031219afe141b20ae0714050c7870ca1e 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/sal.h>
index 016683b743c26a33931b04790ccc59c5a65268f3..c29c600d79674c3a5d8e199e2b838d26268ca569 100644 (file)
@@ -49,7 +49,6 @@
 #include <asm/irq.h>
 #include <asm/mca.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/sal.h>
index d7d31c718d2ddbe9c1876b8cf31fb3d462bcdaa0..e30e360beef845f2098a7936506c2757849345f2 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/swap.h>
 
 #include <asm/meminit.h>
-#include <asm/pgalloc.h>
 #include <asm/sections.h>
 #include <asm/mca.h>
 
index da810ca234dad42698c66675a686ded4e4e4136a..37f8b6875ac902c0cdce4f83eed1df2b01e66387 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/efi.h>
 #include <linux/nodemask.h>
 #include <linux/slab.h>
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/meminit.h>
 #include <asm/numa.h>
index 32352a73df0c1cbb6dfd19be3949c27d82e949dd..b331f94d20ac1eb05384bdaaefde45c07b62044e 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/sysctl.h>
 #include <linux/log2.h>
 #include <asm/mman.h>
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
 
index 71c19918e3875b7611087f725107c2fb37e01ab4..135b5135cace26f5a31e7723cdfd22edcfe87608 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <asm/delay.h>
 #include <asm/mmu_context.h>
-#include <asm/pgalloc.h>
 #include <asm/pal.h>
 #include <asm/tlbflush.h>
 #include <asm/dma.h>
index cac9f289d1f60b8cc254471ed9d653e9fc7bf6b4..993fd7e37069fda5ff93bdccefd37f8d6762da5d 100644 (file)
@@ -222,7 +222,7 @@ static inline void activate_mm(struct mm_struct *prev_mm,
 
 #include <asm/setup.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
+#include <asm/cacheflush.h>
 
 static inline int init_new_context(struct task_struct *tsk,
                                   struct mm_struct *mm)
index 871a0e11da341ada53ba4b816f98b676a1bb6ea2..b1ca3522eccc2fef030fdc9e2775d67e19ef1a68 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/vmalloc.h>
 #include <linux/export.h>
 
-#include <asm/pgalloc.h>
+#include <asm/cacheflush.h>
 
 #if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
 void arch_dma_prep_coherent(struct page *page, size_t size)
index df6fc782754f73dd0c7597420d724bdab35d8a43..546e81935fe89d4c1d9fec5ca913db86140bc909 100644 (file)
 #include <asm/fpu.h>
 #include <linux/uaccess.h>
 #include <asm/traps.h>
-#include <asm/pgalloc.h>
 #include <asm/machdep.h>
 #include <asm/siginfo.h>
-
+#include <asm/tlbflush.h>
 
 static const char *vec_names[] = {
        [VEC_RESETSP]   = "RESET SP",
index 5ecb3310e8745383208969f999405410f308add4..b486c0889eece6e81c597c3a8f30ea80e437d086 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <linux/module.h>
-#include <asm/pgalloc.h>
+#include <asm/cacheflush.h>
 #include <asm/traps.h>
 
 
index a94a814ad6adb49572e498cdcb599804d9f17e90..508abb63da6785ba2d3bc735938a0a9a09117b1b 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <asm/setup.h>
 #include <asm/traps.h>
-#include <asm/pgalloc.h>
 
 extern void die_if_kernel(char *, struct pt_regs *, long);
 
index 14d31d216cefe7f77cf3094a2a5102dd83440515..1269d513b2217f84e725e8b6cda8503db104ee83 100644 (file)
@@ -19,8 +19,8 @@
 #include <asm/setup.h>
 #include <asm/segment.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/io.h>
+#include <asm/tlbflush.h>
 
 #undef DEBUG
 
index 7d04210d34f026da98f2e083df3a598624eab815..7068126cedc1ed82cd93120a838e14a6a94e8921 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/mmu_context.h>
 #include <asm/mcf_pgalloc.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>
 
 #define KMAPAREA(x)    ((x >= VMALLOC_START) && (x < KMAP_END))
 
index 65e0c4071912177af9912d181bac510134b5bb6f..fe75aecfb238a3c7f0fdf24733ce1836cdb8de92 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/setup.h>
 #include <asm/segment.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/traps.h>
 #include <asm/machdep.h>
 
index fef52d222d46b88a2bb54aa573be08082e623392..08bb92113026a7bb979ec0f50eff4abbb7ac29a5 100644 (file)
@@ -22,7 +22,7 @@
 #include <asm/dvma.h>
 #include <asm/io.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
+#include <asm/tlbflush.h>
 
 /* IOMMU support */
 
index 6f8f5c77a05019743926c2f72bacd395a4d00dbb..1200e2bf14bb1fb2cb9fa16ef88cfe4c593599cf 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/processor.h>     /* For TASK_SIZE */
 #include <asm/mmu.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 
 extern void _tlbie(unsigned long address);
 extern void _tlbia(void);
index 6cabeab9e2ba010d81f32d3de209b3cf27a51a71..a9e46e525cd0ad4a3c0495da84090911afceb4b3 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/tick.h>
 #include <linux/bitops.h>
 #include <linux/ptrace.h>
-#include <asm/pgalloc.h>
 #include <linux/uaccess.h> /* for USER_DS macros */
 #include <asm/cacheflush.h>
 
index bdd6d0c86e16f49cf0bb970c1d3fab4f76e90d30..65bf5fd8d4733b63e68edb627dd8543899a2a0f8 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/entry.h>
 #include <asm/ucontext.h>
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <linux/syscalls.h>
 #include <asm/cacheflush.h>
 #include <asm/syscalls.h>
index be1b2cfc4c3ed47f0806da15efea13aa4c811eb4..62b956cc2d1d2c1507700d3f7bf49aea8799069b 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/ip32/crime.h>
 #include <asm/bootinfo.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 
 extern void crime_init(void);
 
index 4a4639c65cbb67c8dde6fe021c16637efcef4d53..185dcd3731eddd23e369267b1ce6971110546d41 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <linux/mm.h>
 #include <asm/processor.h>
-#include <asm/pgalloc.h>
 #include <asm/current.h>
 #include <linux/sched.h>
 
index 277ac7a557525f60f63a15c4bf1dd4c65d213d52..212e5f85004cc73b1d5144807323448a1f88ee11 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/io.h>
 #include <asm/hardirq.h>
 #include <asm/delay.h>
-#include <asm/pgalloc.h>
 
 #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
 
index 07b89c74abeb1dd86c6e0eb91de76f3d81625e8f..cb5f2f7304213960378bb1d85caaef4bba1b34e6 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/atomic.h>
-#include <asm/pgalloc.h>
 #include <asm-generic/mm_hooks.h>
 
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
index 1eedfecc51371e5644e18ee6c6b95867670a8f04..b5e1d9f1b440b961daefacc940ab30792e9a91ef 100644 (file)
@@ -24,7 +24,6 @@
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/sections.h>
 #include <asm/shmparam.h>
index 4f1596bb1936d0d863b5b80a38f2519869a1f5d1..38c68e131bbe2a115a92de37cd920747c8cca1ab 100644 (file)
@@ -32,7 +32,6 @@
 #include <asm/dma.h>    /* for DMA_CHUNK_SIZE */
 #include <asm/io.h>
 #include <asm/page.h>  /* get_order */
-#include <asm/pgalloc.h>
 #include <linux/uaccess.h>
 #include <asm/tlbflush.h>      /* for purge_tlb_*() macros */
 
index de6299ff153057b0a37177ecffe3c0cb855d927d..86ec30cc0e7704d8f26417f513592aaea90dcd15 100644 (file)
@@ -47,7 +47,6 @@
 #include <asm/assembly.h>
 #include <asm/pdc.h>
 #include <asm/pdc_chassis.h>
-#include <asm/pgalloc.h>
 #include <asm/unwind.h>
 #include <asm/sections.h>
 
index 02895a8f2c551f6963a3eaa1232ca5b8655241d1..5df5d4cd5d4cf0f08da843c4039f8920cfbafef3 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/ucontext.h>
 #include <asm/rt_sigframe.h>
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #include <asm/asm-offsets.h>
 
index f8a842ddd82de890b5ea1642400183f14e1f7895..6271139d2213ae851ee8eee7315d7f1c04bd3a47 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/irq.h>           /* for CPU_IRQ_REGION and friends */
 #include <asm/mmu_context.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/unistd.h>
index 0e1e212f1c9656834f33e2873efb953d6dffa5e4..d7ba014a7fbb5c6930a4283a331db6c4ef267fd2 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/sysctl.h>
 
 #include <asm/mman.h>
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
index 6e7c005aa09b94ae7e85d70d366bbdd06f45f16a..345ff0b664993584dd257f8b37039074c183fcbf 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/errno.h>
 #include <linux/module.h>
 #include <linux/io.h>
-#include <asm/pgalloc.h>
+#include <linux/mm.h>
 
 /*
  * Generic mapping function (not visible outside):
index 862985cf51804583a3526d7c99898c7658e82fa4..fbc6f3002f236cbce4b93ec782feaa907befb868 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef __powerpc64__
 #include <linux/pgtable.h>
 #endif
-#include <asm/pgalloc.h>
 #ifndef __powerpc64__
 #include <asm/page.h>
 #include <asm/mmu.h>
index 25acb9c5ee1b5680f8bf1898a4168fb9c2cfedb6..964467b3a776c07ba20c5b5bd3248952dab2276b 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <linux/mm.h>
 #include <linux/hugetlb.h>
-#include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #include <asm/machdep.h>
 
index 2a99167afbaf3b30633445d2beec56b7a3673aa0..fd9c7f91b09238f914e2294603ae243fc7f1fe8b 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/mm_types.h>
 #include <linux/mm.h>
 
-#include <asm/pgalloc.h>
 #include <asm/sections.h>
 #include <asm/mmu.h>
 #include <asm/tlb.h>
index 0fbf3dc9f2c29292ea529d9230a3de1ed46b242f..eb0bccaf221eaa9326e1561e355d78da6dc63490 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/mm.h>
 #include <linux/percpu.h>
 #include <linux/hardirq.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
 #include <asm/bug.h>
index c812b401b66ce0c704d5951d2b14886ae1de6868..cb91071eef52494cffad3111e5434c4cfc850f33 100644 (file)
@@ -2,7 +2,6 @@
 #include <linux/mm.h>
 #include <linux/hugetlb.h>
 #include <linux/security.h>
-#include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #include <asm/machdep.h>
 #include <asm/mman.h>
index 5a5469eb3174f3c15edcb7d0cadf54123b924ae0..7ea19dc4883b4216473df185c38428b72fe363e2 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/slab.h>
 #include <linux/hugetlb.h>
 
-#include <asm/pgalloc.h>
 #include <asm/prom.h>
 #include <asm/io.h>
 #include <asm/mmu.h>
index 569d98a41881b636ec9265003e664100bbac7132..2784224054f85fc64acc1ebeecdbc62be314dbd1 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/kasan.h>
 #include <linux/memblock.h>
 #include <linux/hugetlb.h>
-#include <asm/pgalloc.h>
 
 static int __init
 kasan_init_shadow_8M(unsigned long k_start, unsigned long k_end, void *block)
index a32b4640b9dea5bffc0175640dcfe09c8b55cb94..202bd260a009567b242b7b0177d4f47bfc53f364 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <linux/kasan.h>
 #include <linux/memblock.h>
-#include <asm/pgalloc.h>
 #include <mm/mmu_decl.h>
 
 int __init kasan_init_region(void *start, size_t size)
index c2c11eb8dcfcae97892e9302017a76ff840158c8..ab12916ec1a7b6748e9475029ba5cc8352954475 100644 (file)
@@ -34,7 +34,6 @@
 #include <linux/dma-direct.h>
 #include <linux/kprobes.h>
 
-#include <asm/pgalloc.h>
 #include <asm/prom.h>
 #include <asm/io.h>
 #include <asm/mmu_context.h>
index 13e74bc39ba5dd4ab0c7b79573193cb8e103e3c0..95751c322f6cd012ac96acdfc1ce6236f952d95c 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/highmem.h>
 #include <linux/memblock.h>
 
-#include <asm/pgalloc.h>
 #include <asm/prom.h>
 #include <asm/io.h>
 #include <asm/mmu_context.h>
index 92e8929cbe3e1957f4ca6131bd50b85a2deeca3d..d2b37146ae6c9700b0a7e2c486afeec3ba704e54 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/fixmap.h>
 #include <asm/code-patching.h>
 #include <asm/inst.h>
-#include <asm/pgalloc.h>
 
 #include <mm/mmu_decl.h>
 
index c06dfbb771f46dce68d9b769a1dc525820719bac..0c294827d6e51942e2e84400438eb8f4783f12a4 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/highmem.h>
 #include <linux/memblock.h>
 
-#include <asm/pgalloc.h>
 #include <asm/prom.h>
 #include <asm/io.h>
 #include <asm/mmu_context.h>
index bce0e5349978f5c0ed357a209d3a9397e431350f..4c74e8a5482bf89ff737d2940a3bddaa26d05e30 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/libfdt.h>
 #include <linux/crash_core.h>
 #include <asm/cacheflush.h>
-#include <asm/pgalloc.h>
 #include <asm/prom.h>
 #include <asm/kdump.h>
 #include <mm/mmu_decl.h>
index 696f568253a0ca0ee93bc3e376284a5494a368fd..14514585db980347464b3d953db8e88eee5ca9c8 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/of_fdt.h>
 #include <linux/hugetlb.h>
 
+#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
 #include <asm/code-patching.h>
index 1136257c3a99ddfb23a904ce388d9a0fe091340d..9c0547d77af3599847849625c565299b3562d561 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/percpu.h>
 #include <linux/hardirq.h>
 #include <linux/hugetlb.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
 #include <asm/hugetlb.h>
index bb43a8c04bee238f2682564445c59151a603d437..cc6e2f94517fcbae716c9b1c6119002603497327 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/slab.h>
 #include <linux/hugetlb.h>
 
-#include <asm/pgalloc.h>
 #include <asm/page.h>
 #include <asm/prom.h>
 #include <asm/mmu_context.h>
index a2c33efc7ce8d93268cc0cfb642c5ce639baee05..ff4b05a9e7f076ca2fdffc6e29fcd1e775ec97e3 100644 (file)
 #include <linux/seq_file.h>
 #include <linux/const.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/plpar_wrappers.h>
 #include <linux/memblock.h>
 #include <asm/firmware.h>
+#include <asm/pgalloc.h>
 
 struct pg_state {
        struct seq_file *seq;
index de6e05ef871c1b732b3664ced8473ee01359c9b1..f7ba13c41d13ce04160aa0fe7a1a0729946c887a 100644 (file)
@@ -21,7 +21,6 @@
 #include <asm/fixmap.h>
 #include <linux/const.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/hugetlb.h>
 
 #include <mm/mmu_decl.h>
index 9dba7e88088530726862179d53ebc5f8ff986ce6..45a3a3022a85c9061ed7b724c1424369f83b0ee9 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/firmware.h>
 #include <asm/hvcall.h>
 #include <asm/mmu.h>
-#include <asm/pgalloc.h>
 #include <linux/uaccess.h>
 #include <linux/memory.h>
 #include <asm/plpar_wrappers.h>
index ae7b7fe24658ac54243bc9cf657c1648138b444b..5873835a3e6b715af02217d74549668fcac12b46 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/signal.h>
 #include <linux/uaccess.h>
 
-#include <asm/pgalloc.h>
 #include <asm/ptrace.h>
 #include <asm/tlbflush.h>
 
index aa406c05a350589567699bfb304e1dfdbe287d25..954fa8ca6cbdacec1d20326755758983e60b4590 100644 (file)
@@ -36,7 +36,6 @@ static inline bool __tlb_remove_page_size(struct mmu_gather *tlb,
 #define p4d_free_tlb p4d_free_tlb
 #define pud_free_tlb pud_free_tlb
 
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm-generic/tlb.h>
 
index 2204704840eaa3f3287aad0a8a647b95e2ec29c3..acce6a08a1faaea4ef2c46397b34b74cac10743b 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <asm/processor.h>
-#include <asm/pgalloc.h>
 
 /*
  * Flush all TLB entries on the local CPU.
index 93c6b8932fbd4ef078af99f8e45f411706704e12..d91989c7bd6a060558fee1fc84552383e81fbac1 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/debug_locks.h>
 #include <asm/cio.h>
 #include <asm/setup.h>
-#include <asm/pgalloc.h>
 #include <asm/smp.h>
 #include <asm/ipl.h>
 #include <asm/diag.h>
index 3cc15c066298362beb896fd10bc00a5772ef783f..3c72a3b772536b33c3abdd317b5c677c2c5c7c51 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/compat.h>
 #include <trace/syscall.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <linux/uaccess.h>
 #include <asm/unistd.h>
 #include <asm/switch_to.h>
index 563429dece034cb1fd2ec5efea03737f82fb29a0..5b8ec1c447e141a710f17b5466ee90e0360d91c5 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <linux/kvm.h>
 #include <linux/kvm_host.h>
-#include <asm/pgalloc.h>
 #include <asm/gmap.h>
 #include <asm/virtio-ccw.h>
 #include "kvm-s390.h"
index 96ae368aa0a2c405f4a1f04c0c581522f08e5ed1..2f721a923b5496c40598655f41942376c1c0af37 100644 (file)
@@ -22,7 +22,6 @@
 #include <asm/ebcdic.h>
 #include <asm/sysinfo.h>
 #include <asm/page-states.h>
-#include <asm/pgalloc.h>
 #include <asm/gmap.h>
 #include <asm/io.h>
 #include <asm/ptrace.h>
index 63e330109b63bd68cf1a64ed00d384122336e0a3..eb99e2f95ebed41679db4dc7ca172f4d76696fae 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/kvm_host.h>
 #include <linux/pagemap.h>
 #include <linux/sched/signal.h>
-#include <asm/pgalloc.h>
 #include <asm/gmap.h>
 #include <asm/uv.h>
 #include <asm/mman.h>
index 5c15ae3daf7180503e10fa4a90edaee094423759..1141c8d5c0d038a23ca3ecc2ced56e7b63a3c47a 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/oom.h>
 #include <linux/uaccess.h>
 
-#include <asm/pgalloc.h>
 #include <asm/diag.h>
 
 #ifdef CONFIG_CMM_IUCV
index 1b78f630a9ca7c9e3c8c7a30155aafc3c6e7bd90..e54f928503c5cbc4b35db4b5863389cad5264cf3 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/random.h>
 #include <linux/compat.h>
 #include <linux/security.h>
-#include <asm/pgalloc.h>
 #include <asm/elf.h>
 
 static unsigned long stack_maxrandom_size(void)
index 2e0cc19f4cd706ceb174e406c4445d6ec0300403..0d25f743b270e9afe8dc161eebfe30cb8c20474c 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/ksm.h>
 #include <linux/mman.h>
 
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>
index c20fc5487e051f47a71cdb337b3f6e8794315d99..0dc0f52f9bb8d3119887dd2fc8b08eaf685ec417 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/irqflags.h>
 #include <linux/smp.h>
 #include <linux/atomic.h>
-#include <asm/pgalloc.h>
 #include <asm/smp.h>
 #include <asm/bl_bit.h>
 
index 4a98980b8a07730bfad105773044a384757019b2..223c14f44af7e43f4ca4e48a7c34a685b86cdc89 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/ftrace.h>
 #include <linux/suspend.h>
 #include <linux/memblock.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/io.h>
 #include <asm/cacheflush.h>
index 26f3bd43e850079ede7ae00a11b2d9bf90d1d048..bc595982d396eea9910717db6448374ba7fb6a1d 100644 (file)
@@ -16,7 +16,6 @@
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
 
index 48978293226cfd6b4a0aa263b0d8d69b36d4739a..4c67b3d887750c0ee854175a5d6aad192bb5f46a 100644 (file)
@@ -20,7 +20,6 @@
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
 
index acd5652a0de3dfafcd7c6faf79e66f1a24d12b72..220d7bc43d2bb097ce0d486de3ab5e2017256274 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/sysctl.h>
 
 #include <asm/mman.h>
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
index a70ba0fdd0b3825243a871bb4571268d9b3bd86d..a86ce13f392c9fecd415f5fe258d788876bd7afb 100644 (file)
@@ -27,6 +27,7 @@
 #include <asm/sections.h>
 #include <asm/setup.h>
 #include <asm/cache.h>
+#include <asm/pgalloc.h>
 #include <linux/sizes.h>
 
 pgd_t swapper_pg_dir[PTRS_PER_PGD];
index 07e744d75fa01bba1137ffc105a42ebb2d1242c1..aab3f82856bb2d55ea90d878c48776640119f3de 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/proc_fs.h>
 #include <asm/fixmap.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/addrspace.h>
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
index 869243518bb3abe390f0ed7a7d5ab0eedea68436..fb400afc2a496a9781082e6e7b6f9a623e8c3f78 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <asm/io.h>
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
 
index 499aa2e6e2768e0a94ae9110517c43cce5e6a90e..904cc6cbc1550cd8824a55898380be79d066fe11 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <asm/io.h>
 #ifdef CONFIG_SPARC64
-#include <asm/pgalloc.h>
 #include <asm/spitfire.h>
 #include <asm/cacheflush.h>
 #include <asm/page.h>
index 6820d357581c35ce8f90fbb218710b013200e993..e841cae544c2b255c68396d4ec1541b315424e4f 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <linux/swap.h>
 #include <linux/pagemap.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>
 
index 41829c024f928eae8ae57cd1b1bb8262856dfe7a..1eed26d423fb2da3580cff885048696cfbce03e9 100644 (file)
@@ -38,7 +38,6 @@
 #include <asm/delay.h>
 #include <asm/irq.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/oplib.h>
 #include <asm/cpudata.h>
 #include <asm/asi.h>
index bd123f1de2e7ca27b8decb843cbf5c51bf17ede1..3f519e1047b6af9ab298d5ea34460e875b1a5092 100644 (file)
@@ -34,7 +34,6 @@
 #include <asm/oplib.h>
 #include <linux/uaccess.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/delay.h>
 #include <asm/processor.h>
 #include <asm/psr.h>
index 3b005b6c3e0fd9b43cfb5bd00666971483552006..f1f8c8ebe641d395f87034e466114b2467989cf9 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/uaccess.h>
 #include <asm/ptrace.h>
-#include <asm/pgalloc.h>
 #include <asm/cacheflush.h>    /* flush_sig_insns */
 #include <asm/switch_to.h>
 
index 76ce290c67cfd2f17df8b1bcb05b984c3bdceff6..50c127ab46d5bc810f6e874a106188f8029e6af4 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <asm/irq.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/oplib.h>
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
index 0085e28bf019a19c6c2ec77803953c8022575f2b..e286e2badc8a408a41d8efaf14b4a6093a2c8ce3 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/uaccess.h>
 #include <asm/starfire.h>
 #include <asm/tlb.h>
+#include <asm/pgalloc.h>
 #include <asm/sections.h>
 #include <asm/prom.h>
 #include <asm/mdesc.h>
index 91b61f012d193065746f18a8d4461d0f4f1eca93..1079638986b52f714e1f6649dc2bee320e9b7db0 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/timer.h>
 #include <asm/traps.h>
-#include <asm/pgalloc.h>
 #include <asm/irq.h>
 #include <asm/io.h>
 #include <asm/cacheflush.h>
index d1fc9a7b7d78e5ddd6cc63d7b284f2ab131ff1df..8f2a2afb048a2d1f6efda305f1f516dac8098814 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
-#include <asm/pgalloc.h>
 #include <asm/vaddrs.h>
 
 static pte_t *kmap_pte;
index bfcc04bfce541e7deecbc61671b9cf0d07c77122..430a47a1b6aeff5a5a536522ff7636b960a2692e 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 
-#include <asm/pgalloc.h>
 #include <asm/io.h>
 #include <asm/io-unit.h>
 #include <asm/mxcc.h>
index 35b002eb312ebb2d1f8a8f7aa4875c06b3e21b45..3a388b1c5d4bc98366a3ac8eb3095b292332cb0f 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 
-#include <asm/pgalloc.h>
 #include <asm/io.h>
 #include <asm/mxcc.h>
 #include <asm/mbus.h>
index a32a16c186174088443b62c7880643a5bfa78095..20ee14739333225f38a5588282514d45baa1c751 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/swap.h>
 #include <linux/preempt.h>
 
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
 #include <asm/mmu_context.h>
index 385d3d172ee14105e800f9b73e776118e35fad83..ca8a657edf59779890227b04e434ef4a2a207c8c 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/sched/task_stack.h>
 
 #include <linux/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #include <asm/user32.h>
 #include <asm/ia32.h>
index 47562147e70b887902dd9ade36c4ab1bed9f3f6b..d98016b8375594381618e1043b1a7bd62ff0712e 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <trace/events/tlb.h>
 
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/paravirt.h>
 #include <asm/debugreg.h>
index c826cddae157658a597788f82c267ce959521f9b..d1175533d125df81d426231fdfaac9cbd8c83d21 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/stringify.h>
+#include <linux/highmem.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>
 #include <linux/memory.h>
index e0e2f020ec025c2202e578ec346919d904257d4d..ccf726cc87b77fc5701a6cee166611aff3eab94b 100644 (file)
@@ -40,7 +40,6 @@
 #include <asm/irq_remapping.h>
 #include <asm/perf_event.h>
 #include <asm/x86_init.h>
-#include <asm/pgalloc.h>
 #include <linux/atomic.h>
 #include <asm/mpspec.h>
 #include <asm/i8259.h>
index afac7ccce72f43da8b3048f0fcb8d357676e9575..c27b82b62c8bda9734f1ad54752f8ac687ad0d69 100644 (file)
@@ -22,7 +22,6 @@
 #include <asm/irqdomain.h>
 #include <asm/mtrr.h>
 #include <asm/mpspec.h>
-#include <asm/pgalloc.h>
 #include <asm/io_apic.h>
 #include <asm/proto.h>
 #include <asm/bios_ebda.h>
index 438fc554d48d575e9c93493c48aae02bb94baf78..1f66d2d1e998db62758fb03e1b64d5c1ae05f081 100644 (file)
@@ -62,7 +62,6 @@
 
 #ifdef CONFIG_X86_64
 #include <asm/x86_init.h>
-#include <asm/pgalloc.h>
 #include <asm/proto.h>
 #else
 #include <asm/processor-flags.h>
index 5e5edd2ec893dedeb813e27cd29a0c2ed524a375..0c7643d9f7cb30ec561c4f1ebeea6d6bed96f4cc 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <asm/cpufeature.h>            /* boot_cpu_has, ...            */
 #include <asm/traps.h>                 /* dotraplinkage, ...           */
-#include <asm/pgalloc.h>               /* pgd_*(), ...                 */
 #include <asm/fixmap.h>                        /* VSYSCALL_ADDR                */
 #include <asm/vsyscall.h>              /* emulate_vsyscall             */
 #include <asm/vm86.h>                  /* struct vm86                  */
index cf57811427167afa9df43bd3be5c55673de30669..a0d023cb4292153a1e11e3826a2a33dfe0b59f72 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/mman.h>
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
-#include <asm/pgalloc.h>
 #include <asm/elf.h>
 
 #if 0  /* This is just for testing */
index fb620fd9dae9d72aac4c5239a7612d2fca6e77ac..6e6b39710e5fa561d1aec5c7005b79b0a1290da8 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/memblock.h>
 #include <linux/pgtable.h>
 
-#include <asm/pgalloc.h>
 #include <asm/setup.h>
 #include <asm/kaslr.h>
 
index 1953685c2ddfe6738bd4d8dc9c43544585ea321e..c234634e26ba4c184cfdb1000371872552faa75c 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/spinlock.h>
 
 #include <asm/cpu_entry_area.h>
-#include <asm/pgalloc.h>
 #include <asm/fixmap.h>
 #include <asm/e820/api.h>
 #include <asm/tlb.h>
index a8a924b3c3358986cd2c97d9b9efec87ffc77a23..1aab92930569af4542db384dabd46a56a6890662 100644 (file)
@@ -34,7 +34,6 @@
 #include <asm/vsyscall.h>
 #include <asm/cmdline.h>
 #include <asm/pti.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/desc.h>
 #include <asm/sections.h>
index a6e5f2c1805d02a75543b7ea320d4c0b8edaef7e..a2f447dffea6c80e858bd596b7493c09537e4e7b 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/slab.h>
 #include <asm/efi.h>
 #include <linux/io.h>
+#include <asm/pgalloc.h>
 #include <asm/uv/bios.h>
 #include <asm/uv/uv_hub.h>
 
index 24cf6972eacea605f34c2386b308680bb724be35..415fe7faa37f01a8b1e0fccc8d1ac460acc0d202 100644 (file)
@@ -25,7 +25,6 @@
 #include <asm/dma.h>
 #include <asm/io.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/ftrace.h>
 #ifdef CONFIG_BLK_DEV_FD
 #include <asm/floppy.h>
index 2369433b734af3c5bce5719eadd8cd4ea49eebe3..5835406b3cecb0290dca51d7d8dcb360e5479f21 100644 (file)
@@ -31,7 +31,6 @@
 #include <asm/tlb.h>
 #include <asm/tlbflush.h>
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 
 /* 
  * Note:
index c4decc73fd86e0b9fa59abd80ea5a3b2be946b33..c128dcc7c85b461f4b91cb2f37fedad6ebaf946d 100644 (file)
@@ -20,7 +20,6 @@
 #include <asm/mmu_context.h>
 #include <asm/cacheflush.h>
 #include <asm/hardirq.h>
-#include <asm/pgalloc.h>
 
 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
 void bad_page_fault(struct pt_regs*, unsigned long, int);
index a3eeccf3ac5f06e506192d80f983762e1ecc19a9..c6ea5d38c509a62788fd1dad811403ebb838eb31 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/io.h>
 #include <linux/rbtree.h>
 #include <asm/setup.h>
-#include <asm/pgalloc.h>
 #include <asm/hypervisor.h>
 #include <xen/grant_table.h>
 #include <xen/page.h>
index 4c2972f3153b52bfb48e7d76b64274f394aaccec..6de86e73dfc3f68f7fcc3bba0a1a61e45a4cb164 100644 (file)
@@ -28,7 +28,6 @@
 
 #if defined(CONFIG_ARM) && !defined(CONFIG_IOMMU_DMA)
 #include <asm/dma-iommu.h>
-#include <asm/pgalloc.h>
 #else
 #define arm_iommu_create_mapping(...)  NULL
 #define arm_iommu_attach_device(...)   -ENODEV
index 77c57568e5d7fa37a53dc695b6ca1e4359dbff30..f5c838a92b01920ae531b6c85cf79c85aeae8a31 100644 (file)
@@ -58,7 +58,6 @@
 #include <linux/sysctl.h>
 
 #include <asm/page.h>
-#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 
 #include <asm/xen/hypervisor.h>
index a250d118144a094a6d124d363499c34404610f98..5dfc59fd9f16e1fe222232dd3d22ba29d0c0564c 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/miscdevice.h>
 #include <linux/moduleparam.h>
 
-#include <asm/pgalloc.h>
 #include <asm/xen/hypervisor.h>
 #include <asm/xen/hypercall.h>
 
index 0f45521b237cd0ab8998f46d27554af585baaae1..cf306e0798fd05bb4fd6c9e54694bd1ba53391f0 100644 (file)
@@ -38,7 +38,6 @@
 
 #include <linux/uaccess.h>
 #include <asm/param.h>
-#include <asm/pgalloc.h>
 
 typedef char *elf_caddr_t;
 
index ef75ec86f8654b7c2e4b6dfd99696717fe53830c..6661ee1cff479ffb5297be5a001625d03b517f85 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/mmu_notifier.h>
 #include <linux/swap.h>
 #include <linux/hugetlb_inline.h>
-#include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
 
index 590111ea6975d93cef95cdb65ccd59121ae015c5..27556d4d49feefae757a3781e362da9c49cb74cd 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/cma.h>
 
 #include <asm/page.h>
+#include <asm/pgalloc.h>
 #include <asm/tlb.h>
 
 #include <linux/io.h>
index b2b9a3e3469679246cf3f1b73d7edc48323f2ab5..97179d27801af37c2aff40ae7ceb99491375887e 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "internal.h"
 #include <asm/dma.h>
-#include <asm/pgalloc.h>
 
 /*
  * Permanent SPARSEMEM data: