summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2024-03-25 15:56:46 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-04-26 05:56:11 +0200
commit0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb (patch)
treecbe0ca02f35dc25f3cf07b63d05e49060cdb0b89 /arch/powerpc/include
parentmm/mm_init.c: remove unneeded calc_memmap_size() (diff)
downloadlinux-0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb.tar.xz
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.h4
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_ */