Skip to content

Commit 26b0812

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
RISC-V: fixup in-flight collision with ARCH_WANT_OPTIMIZE_VMEMMAP rename
Lukas warned that ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP had been renamed in the mm tree & that RISC-V would need a fixup as part of the merge. The warning was missed however, and RISC-V is selecting the orphaned Kconfig option. Fixes: 89d77f7 ("Merge tag 'riscv-for-linus-6.4-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux") Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>. Link: https://lore.kernel.org/linux-riscv/CAKXUXMyVeg2kQK_edKHtMD3eADrDK_PKhCSVkMrLDdYgTQQ5rg@mail.gmail.com/ Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/r/20230429-trilogy-jolly-12bf5c53d62d@spud Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent a2a58b5 commit 26b0812

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ config RISCV
4646
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
4747
select ARCH_WANT_FRAME_POINTERS
4848
select ARCH_WANT_GENERAL_HUGETLB if !RISCV_ISA_SVNAPOT
49-
select ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP
5049
select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
5150
select ARCH_WANT_LD_ORPHAN_WARN if !XIP_KERNEL
51+
select ARCH_WANT_OPTIMIZE_VMEMMAP
5252
select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE
5353
select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU
5454
select BUILDTIME_TABLE_SORT if MMU

0 commit comments

Comments
 (0)