mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
mm/damon/Kconfig: make DAMON_STAT_ENABLED_DEFAULT depend on DAMON_STAT
The DAMON_STAT_ENABLED_DEFAULT option is strongly tied to DAMON_STAT
option -- enabling it alone is meaningless. This patch makes
DAMON_STAT_ENABLED_DEFAULT depend on DAMON_STAT, ensuring functional
consistency.
Link: https://lkml.kernel.org/r/20250815092110.811757-1-lienze@kylinos.cn
Fixes: 369c415e60 ("mm/damon: introduce DAMON_STAT module")
Signed-off-by: Enze Li <lienze@kylinos.cn>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
@@ -104,7 +104,7 @@ config DAMON_STAT
|
|||||||
|
|
||||||
config DAMON_STAT_ENABLED_DEFAULT
|
config DAMON_STAT_ENABLED_DEFAULT
|
||||||
bool "Enable DAMON_STAT by default"
|
bool "Enable DAMON_STAT by default"
|
||||||
depends on DAMON_PADDR
|
depends on DAMON_STAT
|
||||||
default DAMON_STAT
|
default DAMON_STAT
|
||||||
help
|
help
|
||||||
Whether to enable DAMON_STAT by default. Users can disable it in
|
Whether to enable DAMON_STAT by default. Users can disable it in
|
||||||
|
|||||||
Reference in New Issue
Block a user