linux/arch
Mike Rapoport 22e7878102 microblaze: simplify pte_alloc_one_kernel()
The microblaze's implementation of pte_alloc_one_kernel() used
memblock_alloc_try_nid_raw() along with clear_page() to allocated a zeroed
page during early setup.

Replace calls of these functions with a call to memblock_alloc_try_nid()
that already returns zeroed page and respects the same allocation limits
as memblock_alloc_try_nid_raw().

While on it drop early_get_page() wrapper that was only used in
pte_alloc_one_kernel().

Link: https://lkml.kernel.org/r/20210714123739.16493-3-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-03 09:58:15 -07:00
..
alpha libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
arc ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 2021-08-03 18:58:33 -07:00
arm mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
arm64 arm64 fix for 5.14 2021-08-26 11:26:00 -07:00
csky mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
h8300 libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
hexagon Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
ia64 ia64: make num_rsvd_regions static 2021-09-03 09:58:09 -07:00
m68k libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
microblaze microblaze: simplify pte_alloc_one_kernel() 2021-09-03 09:58:15 -07:00
mips mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
nds32 mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
nios2 Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
openrisc Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
parisc mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
powerpc mm: sparse: pass section_nr to find_memory_block 2021-09-03 09:58:14 -07:00
riscv RISC-V Fixes for 5.14-rc8 (or 5.14) 2021-08-27 11:04:57 -07:00
s390 mm/gup: remove try_get_page(), call try_get_compound_head() directly 2021-09-03 09:58:11 -07:00
sh mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
sparc Networking fixes for 5.14-rc4, including fixes from bpf, can, WiFi (mac80211) 2021-07-30 16:01:36 -07:00
um Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
x86 memcg: enable accounting for ldt_struct objects 2021-09-03 09:58:13 -07:00
xtensa libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
.gitignore
Kconfig