acrn-kernel/arch/sh/mm
Mike Rapoport 782de70c42 mm: consolidate pgtable_cache_init() and pgd_cache_init()
Both pgtable_cache_init() and pgd_cache_init() are used to initialize kmem
cache for page table allocations on several architectures that do not use
PAGE_SIZE tables for one or more levels of the page table hierarchy.

Most architectures do not implement these functions and use __weak default
NOP implementation of pgd_cache_init().  Since there is no such default
for pgtable_cache_init(), its empty stub is duplicated among most
architectures.

Rename the definitions of pgd_cache_init() to pgtable_cache_init() and
drop empty stubs of pgtable_cache_init().

Link: http://lkml.kernel.org/r/1566457046-22637-1-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Will Deacon <will@kernel.org>		[arm64]
Acked-by: Thomas Gleixner <tglx@linutronix.de>	[x86]
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-09-24 15:54:09 -07:00
..
Kconfig mm: remove quicklist page table caches 2019-09-24 15:54:09 -07:00
Makefile sh: use the generic get_user_pages_fast code 2019-07-12 11:05:44 -07:00
alignment.c
asids-debugfs.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
cache-debugfs.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
cache-j2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
cache-sh2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
cache-sh2a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
cache-sh3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
cache-sh4.c
cache-sh5.c
cache-sh7705.c
cache-shx3.c
cache.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
consistent.c sh: split arch/sh/mm/consistent.c 2018-08-02 13:54:15 +02:00
extable_32.c
extable_64.c
fault.c mm, kprobes: generalize and rename notify_page_fault() as kprobe_page_fault() 2019-07-16 19:23:22 -07:00
flush-sh4.c
hugetlbpage.c
init.c mm/memory_hotplug: allow arch_remove_memory() without CONFIG_MEMORY_HOTREMOVE 2019-07-18 17:08:06 -07:00
ioremap.c
ioremap_fixed.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
kmap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
mmap.c
nommu.c mm: consolidate pgtable_cache_init() and pgd_cache_init() 2019-09-24 15:54:09 -07:00
numa.c treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00
pgtable.c
pmb.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
sram.c
tlb-debugfs.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
tlb-pteaex.c
tlb-sh3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
tlb-sh4.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211 2019-05-30 11:29:53 -07:00
tlb-sh5.c
tlb-urb.c
tlbex_32.c
tlbex_64.c
tlbflush_32.c
tlbflush_64.c
uncached.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00