summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/setup_no.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-02-03 11:30:36 +0100
committerIngo Molnar <mingo@kernel.org>2016-02-03 11:30:36 +0100
commit03e075b38e6cd25267c8d6e2797fa4537ca3348d (patch)
tree608ece74f1b3cca290e3408a29cf73e822f0ef4d /arch/m68k/kernel/setup_no.c
parentx86/efi: Setup separate EFI page tables in kexec paths (diff)
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-03e075b38e6cd25267c8d6e2797fa4537ca3348d.tar.xz
linux-03e075b38e6cd25267c8d6e2797fa4537ca3348d.zip
Merge branch 'linus' into efi/core, to refresh the branch and to pick up recent fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/m68k/kernel/setup_no.c')
-rw-r--r--arch/m68k/kernel/setup_no.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index 88c27d94a721..76b9113f3092 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -238,11 +238,14 @@ void __init setup_arch(char **cmdline_p)
* Give all the memory to the bootmap allocator, tell it to put the
* boot mem_map at the start of memory.
*/
+ min_low_pfn = PFN_DOWN(memory_start);
+ max_pfn = max_low_pfn = PFN_DOWN(memory_end);
+
bootmap_size = init_bootmem_node(
NODE_DATA(0),
- memory_start >> PAGE_SHIFT, /* map goes here */
- PAGE_OFFSET >> PAGE_SHIFT, /* 0 on coldfire */
- memory_end >> PAGE_SHIFT);
+ min_low_pfn, /* map goes here */
+ PFN_DOWN(PAGE_OFFSET),
+ max_pfn);
/*
* Free the usable memory, we have to make sure we do not free
* the bootmem bitmap so we then reserve it after freeing it :-)