LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] psi: Use DECLARE macro to extern static key
@ 2021-09-11  8:19 cgel.zte
  0 siblings, 0 replies; only message in thread
From: cgel.zte @ 2021-09-11  8:19 UTC (permalink / raw)
  To: hannes; +Cc: linux-kernel, Yang Yang, Zeal Robot

From: Yang Yang <yang.yang29@zte.com.cn>

See patch 'locking/static_keys: Provide DECLARE and well as DEFINE macros'.

Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Tested-by: Zeal Robot <zealci@zte.com.cn>
---
 include/linux/psi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/psi.h b/include/linux/psi.h
index 65eb1476ac70..cd1c205a9dd2 100644
--- a/include/linux/psi.h
+++ b/include/linux/psi.h
@@ -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);
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-11  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11  8:19 [PATCH] psi: Use DECLARE macro to extern static key cgel.zte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).