Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce6e71ad authored by Siddha, Suresh B's avatar Siddha, Suresh B Committed by Tony Luck
Browse files

[IA64] fix siblings field value in /proc/cpuinfo



Fix the "siblings" field value in /proc/cpuinfo so that it now shows the
number of siblings as seen by OS, instead of what is available from
hardware perspective.

Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 444d1d9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -526,7 +526,7 @@ show_cpuinfo (struct seq_file *m, void *v)
		   c->itc_freq / 1000000, c->itc_freq % 1000000,
		   c->itc_freq / 1000000, c->itc_freq % 1000000,
		   lpj*HZ/500000, (lpj*HZ/5000) % 100);
		   lpj*HZ/500000, (lpj*HZ/5000) % 100);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
	seq_printf(m, "siblings   : %u\n", c->num_log);
	seq_printf(m, "siblings   : %u\n", cpus_weight(cpu_core_map[cpunum]));
	if (c->threads_per_core > 1 || c->cores_per_socket > 1)
	if (c->threads_per_core > 1 || c->cores_per_socket > 1)
		seq_printf(m,
		seq_printf(m,
		   	   "physical id: %u\n"
		   	   "physical id: %u\n"