mm/mm_init.c: remove arch_reserved_kernel_pages()
authorBaoquan He <bhe@redhat.com>
Mon, 25 Mar 2024 14:56:46 +0000 (22:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:11 +0000 (20:56 -0700)
commit0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb
treecbe0ca02f35dc25f3cf07b63d05e49060cdb0b89
parent90e796e22e35af0d19874c36fa4a22709aec1659
mm/mm_init.c: remove arch_reserved_kernel_pages()

Since the current calculation of calc_nr_kernel_pages() has taken into
consideration of kernel reserved memory, no need to have
arch_reserved_kernel_pages() any more.

Link: https://lkml.kernel.org/r/20240325145646.1044760-7-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/include/asm/mmu.h
arch/powerpc/kernel/fadump.c
include/linux/mm.h
mm/mm_init.c