Skip to content

Commit af2c159

Browse files
t-8chKAGA-KOKO
authored andcommitted
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 <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-23-b64f0842d512@linutronix.de
1 parent d4526a2 commit af2c159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/powerpc/platforms/pseries/lparcfg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ static int pseries_lparcfg_data(struct seq_file *m, void *v)
553553
} else { /* non SPLPAR case */
554554

555555
seq_printf(m, "system_active_processors=%d\n",
556-
partition_potential_processors);
556+
partition_active_processors);
557557

558558
seq_printf(m, "system_potential_processors=%d\n",
559559
partition_potential_processors);

0 commit comments

Comments
 (0)