]> Git Repo - linux.git/commit
m68k/mm: make node data and node setup depend on CONFIG_DISCONTIGMEM
authorMike Rapoport <[email protected]>
Tue, 15 Dec 2020 03:10:07 +0000 (19:10 -0800)
committerLinus Torvalds <[email protected]>
Tue, 15 Dec 2020 20:13:43 +0000 (12:13 -0800)
commit6b2ad8d763727b887d85c990747271ee804d9abb
treee52dd2b587fc11413fe1ca65690c6f2f98319839
parent050b2da268f8fc4f8123f6462c430a61547b2f7b
m68k/mm: make node data and node setup depend on CONFIG_DISCONTIGMEM

The pg_data_t node structures and their initialization currently depends on
!CONFIG_SINGLE_MEMORY_CHUNK. Since they are required only for DISCONTIGMEM
make this dependency explicit and replace usage of
CONFIG_SINGLE_MEMORY_CHUNK with CONFIG_DISCONTIGMEM where appropriate.

The CONFIG_SINGLE_MEMORY_CHUNK was implicitly disabled on the ColdFire MMU
variant, although it always presumed a single memory bank. As there is no
actual need for DISCONTIGMEM in this case, make sure that ColdFire MMU
systems set CONFIG_SINGLE_MEMORY_CHUNK to 'y'.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: John Paul Adrian Glaubitz <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: Meelis Roos <[email protected]>
Cc: Michael Schmitz <[email protected]>
Cc: Russell King <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/m68k/Kconfig.cpu
arch/m68k/include/asm/page_mm.h
arch/m68k/include/asm/virtconvert.h
arch/m68k/mm/init.c
This page took 0.05359 seconds and 4 git commands to generate.