Messages in this thread Patch in this message | | | From | cgel.zte@gmail ... | Subject | [PATCH] psi: Use DECLARE macro to extern static key | Date | Sat, 11 Sep 2021 08:19:50 +0000 |
| |
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
| |