From: Thomas Weißschuh Date: Thu, 10 Oct 2024 07:01:25 +0000 (+0200) Subject: powerpc/pseries/lparcfg: Fix printing of system_active_processors X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=af2c15920a114a7acea4dcbf9cd4a7b0ff469780;p=users%2Fjedix%2Flinux-maple.git powerpc/pseries/lparcfg: Fix printing of system_active_processors When printing the information "system_active_processors", the variable partition_potential_processors is used instead of partition_active_processors. The wrong value is displayed. Use partition_active_processors instead. Signed-off-by: Thomas Weißschuh Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-23-b64f0842d512@linutronix.de --- diff --git a/arch/powerpc/platforms/pseries/lparcfg.c b/arch/powerpc/platforms/pseries/lparcfg.c index 62da20f9700a9..acc640fccca17 100644 --- a/arch/powerpc/platforms/pseries/lparcfg.c +++ b/arch/powerpc/platforms/pseries/lparcfg.c @@ -553,7 +553,7 @@ static int pseries_lparcfg_data(struct seq_file *m, void *v) } else { /* non SPLPAR case */ seq_printf(m, "system_active_processors=%d\n", - partition_potential_processors); + partition_active_processors); seq_printf(m, "system_potential_processors=%d\n", partition_potential_processors);