* [PATCH] printk: change type of cpu_possible_bits to __cpu_possible_mask
@ 2022-06-05 8:40 jingyuwang
0 siblings, 0 replies; only message in thread
From: jingyuwang @ 2022-06-05 8:40 UTC (permalink / raw)
To: pmladek, senozhatsky, rostedt, john.ogness; +Cc: linux-kernel, jingyuwang
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@163.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-05 8:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 8:40 [PATCH] printk: change type of cpu_possible_bits to __cpu_possible_mask jingyuwang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.