Skip to content

Commit 7f85b04

Browse files
xhackerustcpalmer-dabbelt
authored andcommitted
riscv: Keep the riscv Kconfig selects sorted
Move three Kconfig selects: ARCH_STACKWALK, ARCH_SUPPORTS_ATOMIC_RMW and ARCH_SUPPORTS_DEBUG_PAGEALLOC to the right place. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8ba1a8b commit 7f85b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/riscv/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ config 32BIT
1313
config RISCV
1414
def_bool y
1515
select ARCH_CLOCKSOURCE_INIT
16-
select ARCH_SUPPORTS_ATOMIC_RMW
17-
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
18-
select ARCH_STACKWALK
1916
select ARCH_HAS_BINFMT_FLAT
2017
select ARCH_HAS_DEBUG_VM_PGTABLE
2118
select ARCH_HAS_DEBUG_VIRTUAL if MMU
@@ -33,6 +30,9 @@ config RISCV
3330
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
3431
select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
3532
select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
33+
select ARCH_STACKWALK
34+
select ARCH_SUPPORTS_ATOMIC_RMW
35+
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
3636
select ARCH_SUPPORTS_HUGETLBFS if MMU
3737
select ARCH_USE_MEMTEST
3838
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU

0 commit comments

Comments
 (0)