aboutsummaryrefslogtreecommitdiff
path: root/arch/score/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/kernel/setup.c')
-rw-r--r--arch/score/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/score/kernel/setup.c b/arch/score/kernel/setup.c
index 6a2503c75c4..6f898c05787 100644
--- a/arch/score/kernel/setup.c
+++ b/arch/score/kernel/setup.c
@@ -49,6 +49,7 @@ static void __init bootmem_init(void)
min_low_pfn = PFN_UP(MEMORY_START);
max_low_pfn = PFN_UP(MEMORY_START + MEMORY_SIZE);
+ max_mapnr = max_low_pfn - min_low_pfn;
/* Initialize the boot-time allocator with low memory only. */
bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn,