[PATCH] static_call: Fix Kconfig dependency of selftests
From: Ard Biesheuvel
Date: Tue Mar 31 2026 - 09:48:30 EST
From: Ard Biesheuvel <ardb@xxxxxxxxxx>
The static call selftests are only implemented for the inline variety,
so fix the Kconfig definition to reflect that.
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: Jason Baron <jbaron@xxxxxxxxxx>
Cc: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
---
arch/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 102ddbd4298e..504e9fc6763f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -161,7 +161,7 @@ config STATIC_KEYS_SELFTEST
config STATIC_CALL_SELFTEST
bool "Static call selftest"
- depends on HAVE_STATIC_CALL
+ depends on HAVE_STATIC_CALL_INLINE
help
Boot time self-test of the call patching code.
--
2.53.0.1018.g2bb0e51243-goog