lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210911081949.52194-1-yang.yang29@zte.com.cn>
Date:   Sat, 11 Sep 2021 08:19:50 +0000
From:   cgel.zte@...il.com
To:     hannes@...xchg.org
Cc:     linux-kernel@...r.kernel.org, Yang Yang <yang.yang29@....com.cn>,
        Zeal Robot <zealci@....com.cn>
Subject: [PATCH] psi: Use DECLARE macro to extern static key

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

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

Signed-off-by: Yang Yang <yang.yang29@....com.cn>
Tested-by: Zeal Robot <zealci@....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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ