Commit 5d2c5b8c authored by Tiwei Bie's avatar Tiwei Bie Committed by Johannes Berg
Browse files

um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE



There is a generic ARCH_HAS_CACHE_LINE_SIZE option introduced by
commit c2280be8 ("mm: generalize ARCH_HAS_CACHE_LINE_SIZE")
in mm/Kconfig. Select that instead.

Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250708090403.1067440-4-tiwei.bie@linux.dev


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 409a0c00
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ config UML
	bool
	default y
	select ARCH_WANTS_DYNAMIC_TASK_STRUCT
	select ARCH_HAS_CACHE_LINE_SIZE
	select ARCH_HAS_CPU_FINALIZE_INIT
	select ARCH_HAS_FORTIFY_SOURCE
	select ARCH_HAS_GCOV_PROFILE_ALL
@@ -83,9 +84,6 @@ config NR_CPUS
	range 1 1
	default 1

config ARCH_HAS_CACHE_LINE_SIZE
	def_bool y

source "arch/$(HEADER_ARCH)/um/Kconfig"

config MAY_HAVE_RUNTIME_DEPS