Skip to content

Commit 5d2c5b8

Browse files
btw616jmberg-intel
authored andcommitted
um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE
There is a generic ARCH_HAS_CACHE_LINE_SIZE option introduced by commit c2280be ("mm: generalize ARCH_HAS_CACHE_LINE_SIZE") in mm/Kconfig. Select that instead. Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 409a0c0 commit 5d2c5b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/um/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config UML
66
bool
77
default y
88
select ARCH_WANTS_DYNAMIC_TASK_STRUCT
9+
select ARCH_HAS_CACHE_LINE_SIZE
910
select ARCH_HAS_CPU_FINALIZE_INIT
1011
select ARCH_HAS_FORTIFY_SOURCE
1112
select ARCH_HAS_GCOV_PROFILE_ALL
@@ -83,9 +84,6 @@ config NR_CPUS
8384
range 1 1
8485
default 1
8586

86-
config ARCH_HAS_CACHE_LINE_SIZE
87-
def_bool y
88-
8987
source "arch/$(HEADER_ARCH)/um/Kconfig"
9088

9189
config MAY_HAVE_RUNTIME_DEPS

0 commit comments

Comments
 (0)