arch: define CONFIG_PAGE_SIZE_*KB on all architectures
authorArnd Bergmann <arnd@arndb.de>
Mon, 26 Feb 2024 16:14:13 +0000 (17:14 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Mar 2024 18:29:09 +0000 (19:29 +0100)
commit5394f1e9b687bcf26595cabf83483e568676128d
treea2cd24c1b83dd794efc4d278e36a53495def2e45
parentd3e5bab923d35f73c74f6dbbb761988d4f58f878
arch: define CONFIG_PAGE_SIZE_*KB on all architectures

Most architectures only support a single hardcoded page size. In order
to ensure that each one of these sets the corresponding Kconfig symbols,
change over the PAGE_SHIFT definition to the common one and allow
only the hardware page size to be selected.

Acked-by: Guo Ren <guoren@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Stafford Horne <shorne@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
28 files changed:
arch/alpha/Kconfig
arch/alpha/include/asm/page.h
arch/arm/Kconfig
arch/arm/include/asm/page.h
arch/csky/Kconfig
arch/csky/include/asm/page.h
arch/m68k/Kconfig
arch/m68k/Kconfig.cpu
arch/m68k/include/asm/page.h
arch/microblaze/Kconfig
arch/microblaze/include/asm/page.h
arch/nios2/Kconfig
arch/nios2/include/asm/page.h
arch/openrisc/Kconfig
arch/openrisc/include/asm/page.h
arch/riscv/Kconfig
arch/riscv/include/asm/page.h
arch/s390/Kconfig
arch/s390/include/asm/page.h
arch/sparc/Kconfig
arch/sparc/include/asm/page_32.h
arch/sparc/include/asm/page_64.h
arch/um/Kconfig
arch/um/include/asm/page.h
arch/x86/Kconfig
arch/x86/include/asm/page_types.h
arch/xtensa/Kconfig
arch/xtensa/include/asm/page.h