diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-02-26 17:14:13 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-03-06 19:29:09 +0100 |
commit | 5394f1e9b687bcf26595cabf83483e568676128d (patch) | |
tree | a2cd24c1b83dd794efc4d278e36a53495def2e45 /arch/xtensa/Kconfig | |
parent | arch: simplify architecture specific page size configuration (diff) | |
download | linux-5394f1e9b687bcf26595cabf83483e568676128d.tar.xz linux-5394f1e9b687bcf26595cabf83483e568676128d.zip |
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>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 6f248d87e496..87ec35b3363b 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -44,6 +44,7 @@ config XTENSA select HAVE_GCC_PLUGINS if GCC_VERSION >= 120000 select HAVE_HW_BREAKPOINT if PERF_EVENTS select HAVE_IRQ_TIME_ACCOUNTING + select HAVE_PAGE_SIZE_4KB select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_STACKPROTECTOR |