1
0
Fork 0
alistair23-linux/arch/nds32/include/asm
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
..
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
assembler.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
barrier.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
bitfield.h nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
cache.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
cache_info.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
cacheflush.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
current.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
delay.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
elf.h nds32 patches for 5.2-rc1 2019-05-17 10:17:29 -07:00
fixmap.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
fpu.h nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
fpuemu.h nds32: add new emulations for floating point instruction 2019-05-31 15:23:26 +08:00
ftrace.h nds32/ftrace: Support dynamic function tracer 2018-09-04 14:45:18 +08:00
futex.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
highmem.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
io.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
irqflags.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
l2_cache.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
linkage.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
memory.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
mmu.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
mmu_context.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
module.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
nds32.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
nds32_fpu_inst.h nds32: Support FP emulation 2018-11-22 18:13:21 +08:00
page.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
perf_event.h nds32: Perf porting 2018-11-06 18:01:40 +08:00
pgalloc.h mm: remove quicklist page table caches 2019-09-24 15:54:09 -07:00
pgtable.h mm: consolidate pgtable_cache_init() and pgd_cache_init() 2019-09-24 15:54:09 -07:00
pmu.h nds32: Perf porting 2018-11-06 18:01:40 +08:00
proc-fns.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
processor.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
ptrace.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
sfp-machine.h nds32: Support FP emulation 2018-11-22 18:13:21 +08:00
shmparam.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
stacktrace.h nds32: Perf porting 2018-11-06 18:01:40 +08:00
string.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
suspend.h nds32: Power management for nds32 2018-11-06 18:01:41 +08:00
swab.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
syscall.h nds32: fix asm/syscall.h 2019-07-16 19:23:24 -07:00
syscalls.h nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
thread_info.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
tlb.h nds32 patches for 5.2-rc1 2019-05-17 10:17:29 -07:00
tlbflush.h nds32 patches for 5.2-rc1 2019-05-17 10:17:29 -07:00
uaccess.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
unistd.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
vdso.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00
vdso_datapage.h nds32: Fix vDSO clock_getres() 2019-05-16 15:07:08 +08:00
vdso_timer_info.h nds32: Use the correct style for SPDX License Identifier 2019-05-07 17:52:09 +08:00