diff options
Diffstat (limited to 'arch/i386/kernel/cpu/proc.c')
-rw-r--r-- | arch/i386/kernel/cpu/proc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/proc.c b/arch/i386/kernel/cpu/proc.c index 89a2956ee657..0f1125b15b76 100644 --- a/arch/i386/kernel/cpu/proc.c +++ b/arch/i386/kernel/cpu/proc.c | |||
@@ -129,6 +129,14 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
129 | seq_printf(m, "\nbogomips\t: %lu.%02lu\n\n", | 129 | seq_printf(m, "\nbogomips\t: %lu.%02lu\n\n", |
130 | c->loops_per_jiffy/(500000/HZ), | 130 | c->loops_per_jiffy/(500000/HZ), |
131 | (c->loops_per_jiffy/(5000/HZ)) % 100); | 131 | (c->loops_per_jiffy/(5000/HZ)) % 100); |
132 | |||
133 | #ifdef CONFIG_SMP | ||
134 | /* Put new fields at the end to lower the probability of | ||
135 | breaking user space parsers. */ | ||
136 | seq_printf(m, "core id\t\t: %d\n", cpu_core_id[n]); | ||
137 | seq_printf(m, "cpu cores\t: %d\n", c->x86_num_cores); | ||
138 | #endif | ||
139 | |||
132 | return 0; | 140 | return 0; |
133 | } | 141 | } |
134 | 142 | ||