]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec1aef9e4c4c1df2e103e55c83c935e4fd8c4e39
tree75e7b671226a5f533ff139a0b2f5378e43f1ef07
parentee7c5a800b7712543c03f412a7611ba9000cd43f
m68k: fix flatmem memory model setup

Detected a broken boot on mcf54415, likely introduced from

commit 0cea7f8fb2c5
("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