diff options
author | Baoquan He <bhe@redhat.com> | 2024-03-25 22:56:46 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-25 20:56:11 -0700 |
commit | 0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb (patch) | |
tree | cbe0ca02f35dc25f3cf07b63d05e49060cdb0b89 /arch/powerpc/include | |
parent | 90e796e22e35af0d19874c36fa4a22709aec1659 (diff) | |
download | linux-0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb.tar.gz linux-0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb.tar.bz2 linux-0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb.zip |
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index 3b72c7ed24cf..aa5c0fd5edb1 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -406,9 +406,5 @@ extern void *abatron_pteptrs[2]; #include <asm/nohash/mmu.h> #endif -#if defined(CONFIG_FA_DUMP) || defined(CONFIG_PRESERVE_FA_DUMP) -#define __HAVE_ARCH_RESERVED_KERNEL_PAGES -#endif - #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_MMU_H_ */ |