All coverage-related op shall be wrapped around with CONFIG_SYSCTL, so we shall make CONFIG_COVERAGE depend on CONFIG_SYSCTL.
Signed-off-by: Penny Zheng <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> --- v1 -> v2: - commit message refactor --- v3 -> v4: - commit message refactor --- xen/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/Kconfig.debug b/xen/Kconfig.debug index d14093017e..c4198f0ac8 100644 --- a/xen/Kconfig.debug +++ b/xen/Kconfig.debug @@ -37,7 +37,7 @@ config SELF_TESTS config COVERAGE bool "Code coverage support" - depends on !LIVEPATCH + depends on !LIVEPATCH && SYSCTL select SUPPRESS_DUPLICATE_SYMBOL_WARNINGS if !ENFORCE_UNIQUE_SYMBOLS help Enable code coverage support. -- 2.34.1
