x86: show apicid for cpu in proc
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 6 Mar 2008 09:13:34 +0000 (01:13 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:57 +0000 (17:40 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/proc.c

index 15043a335ef1dd1330e8455c2f0ed4d49e85996a..e8e58c09625de73291cf1d9548af4b7f82d30f39 100644 (file)
@@ -59,6 +59,7 @@ static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c,
                           cpus_weight(per_cpu(cpu_core_map, cpu)));
                seq_printf(m, "core id\t\t: %d\n", c->cpu_core_id);
                seq_printf(m, "cpu cores\t: %d\n", c->booted_cores);
+               seq_printf(m, "apicid\t\t: %d\n", c->apicid);
        }
 #endif
 }