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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent d4526a2 commit af2c159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)