aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorSiddha, Suresh B <suresh.b.siddha@intel.com>2005-10-04 19:35:31 -0400
committerTony Luck <tony.luck@intel.com>2005-10-25 18:00:36 -0400
commitce6e71ad4866dad366be135b024b776c00ec9ec8 (patch)
treecefc2f4d639726053cc57f557fc4cca812cf0c76 /arch/ia64
parent444d1d9bb5b724f03344c9317bc01d54a9b39073 (diff)
[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: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 1f5c26dbe705..0ca6ef103952 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -526,7 +526,7 @@ show_cpuinfo (struct seq_file *m, void *v)
526 c->itc_freq / 1000000, c->itc_freq % 1000000, 526 c->itc_freq / 1000000, c->itc_freq % 1000000,
527 lpj*HZ/500000, (lpj*HZ/5000) % 100); 527 lpj*HZ/500000, (lpj*HZ/5000) % 100);
528#ifdef CONFIG_SMP 528#ifdef CONFIG_SMP
529 seq_printf(m, "siblings : %u\n", c->num_log); 529 seq_printf(m, "siblings : %u\n", cpus_weight(cpu_core_map[cpunum]));
530 if (c->threads_per_core > 1 || c->cores_per_socket > 1) 530 if (c->threads_per_core > 1 || c->cores_per_socket > 1)
531 seq_printf(m, 531 seq_printf(m,
532 "physical id: %u\n" 532 "physical id: %u\n"