mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
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
This commit is contained in:
parent
d4526a2d2d
commit
af2c15920a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user