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]
Date:   Sun,  5 Jun 2022 16:40:58 +0800
From:   jingyuwang <jingyuwang_vip@....com>
To:     pmladek@...e.com, senozhatsky@...omium.org, rostedt@...dmis.org,
        john.ogness@...utronix.de
Cc:     linux-kernel@...r.kernel.org, jingyuwang <jingyuwang_vip@....com>
Subject: [PATCH] printk: change type of cpu_possible_bits to __cpu_possible_mask

1.type of cpu_possible_bits is changed,refer to commit c4c54dd1caf1
 ("kernel/cpu.c: change type of cpu_possible_bits and friends").
2.set_cpu_possible() before setup_arch().

Signed-off-by: jingyuwang <jingyuwang_vip@....com>
---
 kernel/printk/printk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index ea3dd55709e7..25670186d12e 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1144,8 +1144,8 @@ static void __init log_buf_add_cpu(void)
 	unsigned int cpu_extra;
 
 	/*
-	 * archs should set up cpu_possible_bits properly with
-	 * set_cpu_possible() after setup_arch() but just in
+	 * archs should set up __cpu_possible_mask properly with
+	 * set_cpu_possible() before setup_arch() but just in
 	 * case lets ensure this is valid.
 	 */
 	if (num_possible_cpus() == 1)
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ