Skip to contentSkip to conversation

psi: Use DECLARE macro to extern static key

PATCH New [email protected] 1 participant 1 message Sep 11, 2021 Pressure stall information (psi)

lore
Share & tools
lore
#0 lore raw

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'.

---
 include/linux/psi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/psi.h +1 -1
index 65eb1476ac70..cd1c205a9dd2 100644
@@ -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