summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m68k/mm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m68k/mm')
-rw-r--r--kernel/arch/m68k/mm/motorola.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/m68k/mm/motorola.c b/kernel/arch/m68k/mm/motorola.c
index b958916e5..8f37fdd80 100644
--- a/kernel/arch/m68k/mm/motorola.c
+++ b/kernel/arch/m68k/mm/motorola.c
@@ -250,7 +250,7 @@ void __init paging_init(void)
high_memory = phys_to_virt(max_addr);
min_low_pfn = availmem >> PAGE_SHIFT;
- max_low_pfn = max_addr >> PAGE_SHIFT;
+ max_pfn = max_low_pfn = max_addr >> PAGE_SHIFT;
for (i = 0; i < m68k_num_memory; i++) {
addr = m68k_memory[i].addr;