psi: Use DECLARE macro to extern static key
PATCH 1/1 psi: Use DECLARE macro to extern static key
From: Yang Yang <[email protected]>
See patch 'locking/static_keys: Provide DECLARE and well as DEFINE macros'.
Signed-off-by Yang Yang <[email protected]>
Tested-by Zeal Robot <[email protected]>
--- include/linux/psi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/psi.h +1 -1
@@ -11,7 +11,7 @@ struct css_set;#ifdef CONFIG_PSI -extern struct static_key_false psi_disabled; +DECLARE_STATIC_KEY_FALSE (psi_disabled);extern struct psi_group psi_system;void psi_init (void );
Signature · 1 line
2.25.1