aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index d99bc6ac4884..d101990e4635 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -660,7 +660,11 @@ struct map_range {
660 unsigned page_size_mask; 660 unsigned page_size_mask;
661}; 661};
662 662
663#ifdef CONFIG_X86_32
664#define NR_RANGE_MR 3
665#else /* CONFIG_X86_64 */
663#define NR_RANGE_MR 5 666#define NR_RANGE_MR 5
667#endif
664 668
665static int save_mr(struct map_range *mr, int nr_range, 669static int save_mr(struct map_range *mr, int nr_range,
666 unsigned long start_pfn, unsigned long end_pfn, 670 unsigned long start_pfn, unsigned long end_pfn,