aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 34760e483972..f59e9b851637 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -900,7 +900,11 @@ struct map_range {
900 unsigned page_size_mask; 900 unsigned page_size_mask;
901}; 901};
902 902
903#ifdef CONFIG_X86_32
903#define NR_RANGE_MR 3 904#define NR_RANGE_MR 3
905#else /* CONFIG_X86_64 */
906#define NR_RANGE_MR 5
907#endif
904 908
905static int save_mr(struct map_range *mr, int nr_range, 909static int save_mr(struct map_range *mr, int nr_range,
906 unsigned long start_pfn, unsigned long end_pfn, 910 unsigned long start_pfn, unsigned long end_pfn,