m68k: fix flatmem memory model setup
authorAngelo Dureghello <angelo@kernel-space.org>
Sun, 28 Feb 2021 19:08:28 +0000 (20:08 +0100)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 11 Apr 2021 23:34:26 +0000 (09:34 +1000)
commitd2bd44c4c05d043fb65cfdf26c54e6d8b94a4b41
tree75e7b671226a5f533ff139a0b2f5378e43f1ef07
parentd434405aaab7d0ebc516b68a8fc4100922d7f5ef
m68k: fix flatmem memory model setup

Detected a broken boot on mcf54415, likely introduced from

commit 4bfc848e0981
("m68k/mm: enable use of generic memory_model.h for !DISCONTIGMEM")

Fix ARCH_PFN_OFFSET to be a pfn.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/include/asm/page_mm.h