Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tiwei Bie and committed by
Johannes Berg
5d2c5b8c 409a0c00

+1 -3
+1 -3
arch/um/Kconfig
··· 6 6 bool 7 7 default y 8 8 select ARCH_WANTS_DYNAMIC_TASK_STRUCT 9 + select ARCH_HAS_CACHE_LINE_SIZE 9 10 select ARCH_HAS_CPU_FINALIZE_INIT 10 11 select ARCH_HAS_FORTIFY_SOURCE 11 12 select ARCH_HAS_GCOV_PROFILE_ALL ··· 83 82 int 84 83 range 1 1 85 84 default 1 86 - 87 - config ARCH_HAS_CACHE_LINE_SIZE 88 - def_bool y 89 85 90 86 source "arch/$(HEADER_ARCH)/um/Kconfig" 91 87