mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
24eeb568ae
commit
e1ed81ab7a
|
@ -512,13 +512,13 @@ 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);
|
||||||
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"
|
||||||
"core id : %u\n"
|
"core id : %u\n"
|
||||||
"thread id : %u\n",
|
"thread id : %u\n",
|
||||||
c->socket_id, c->core_id, c->thread_id);
|
c->socket_id, c->core_id, c->thread_id);
|
||||||
seq_printf(m, "siblings : %u\n", c->num_log);
|
|
||||||
#endif
|
#endif
|
||||||
seq_printf(m,"\n");
|
seq_printf(m,"\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue