selftests/livepatch: add DYNAMIC_DEBUG config dependency
The livepatch selftest scripts turn on dynamic_debug of livepatch
kernel source to determine expected behavior. TEST_LIVEPATCH should
therefore include DYNAMIC_DEBUG in its list of dependencies.
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Petr Mladek <pmladek@suse.com>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0298eb8..0a3af29 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1994,6 +1994,7 @@
config TEST_LIVEPATCH
tristate "Test livepatching"
default n
+ depends on DYNAMIC_DEBUG
depends on LIVEPATCH
depends on m
help