aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-04-25 16:27:12 -0400
committerTony Luck <tony.luck@intel.com>2005-04-25 16:27:12 -0400
commite1ed81ab7a34fc0f92f2e200825bdb6d86d6c8ef (patch)
tree488b22465b9108142b2df16d6e267b0ddda2b839
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>
-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 88043841fb8a..b7e6b4cb374b 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)
512 c->itc_freq / 1000000, c->itc_freq % 1000000, 512 c->itc_freq / 1000000, c->itc_freq % 1000000,
513 lpj*HZ/500000, (lpj*HZ/5000) % 100); 513 lpj*HZ/500000, (lpj*HZ/5000) % 100);
514#ifdef CONFIG_SMP 514#ifdef CONFIG_SMP
515 seq_printf(m, "siblings : %u\n", c->num_log);
515 if (c->threads_per_core > 1 || c->cores_per_socket > 1) 516 if (c->threads_per_core > 1 || c->cores_per_socket > 1)
516 seq_printf(m, 517 seq_printf(m,
517 "physical id: %u\n" 518 "physical id: %u\n"
518 "core id : %u\n" 519 "core id : %u\n"
519 "thread id : %u\n", 520 "thread id : %u\n",
520 c->socket_id, c->core_id, c->thread_id); 521 c->socket_id, c->core_id, c->thread_id);
521 seq_printf(m, "siblings : %u\n", c->num_log);
522#endif 522#endif
523 seq_printf(m,"\n"); 523 seq_printf(m,"\n");
524 524