arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions
authorArnd Bergmann <arnd@arndb.de>
Fri, 23 Feb 2024 22:18:37 +0000 (23:18 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Mar 2024 18:28:26 +0000 (19:28 +0100)
commitba89f9c8ccbad3998cbfbf4012eff182f77b42aa
tree8ad229ae23cea709b4f7fb8eec697d1c9480d15c
parent3391538f08511dae86382003ff9216026762b3a9
arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions

These four architectures define the same Kconfig symbols for configuring
the page size. Move the logic into a common place where it can be shared
with all other architectures.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/Kconfig
arch/hexagon/Kconfig
arch/hexagon/include/asm/page.h
arch/loongarch/Kconfig
arch/loongarch/include/asm/page.h
arch/mips/Kconfig
arch/mips/include/asm/page.h
arch/sh/include/asm/page.h
arch/sh/mm/Kconfig