diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2025-07-08 17:04:02 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-07-11 08:49:18 +0200 |
commit | 5d2c5b8c410c13995aeee7fdf52b7184a084d506 (patch) | |
tree | 25b7cd8dc5a1eda34422323abfb7d7e51d45964a | |
parent | 409a0c00c490d3b7c077e316a9261462241acda7 (diff) |
um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE
There is a generic ARCH_HAS_CACHE_LINE_SIZE option introduced by
commit c2280be81de4 ("mm: generalize ARCH_HAS_CACHE_LINE_SIZE")
in mm/Kconfig. Select that instead.
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250708090403.1067440-4-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | arch/um/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index c2d2d2d99bbe..9083bfdb7735 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -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 |