aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-04-25 13:27:12 -0700
committerTony Luck <tony.luck@intel.com>2005-04-25 13:27:12 -0700
commite1ed81ab7a34fc0f92f2e200825bdb6d86d6c8ef (patch)
tree488b22465b9108142b2df16d6e267b0ddda2b839 /arch
parent24eeb568aeeaee771b9f0a6fd6f5d01040a887da (diff)
[IA64] print "siblings" before {physical,core,thread} id
Rohit and Suresh changed their mind about the order to print things in /proc/cpuinfo, but didn't include the change in the version of the patch they sent to me. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-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 88043841fb8..b7e6b4cb374 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -512,13 +512,13 @@ show_cpuinfo (struct seq_file *m, void *v)
c->itc_freq / 1000000, c->itc_freq % 1000000,
lpj*HZ/500000, (lpj*HZ/5000) % 100);
#ifdef CONFIG_SMP
+ seq_printf(m, "siblings : %u\n", c->num_log);
if (c->threads_per_core > 1 || c->cores_per_socket > 1)
seq_printf(m,
"physical id: %u\n"
"core id : %u\n"
"thread id : %u\n",
c->socket_id, c->core_id, c->thread_id);
- seq_printf(m, "siblings : %u\n", c->num_log);
#endif
seq_printf(m,"\n");