The patch titled x86: fix show cpuinfo cpu number always zero has been added to the -mm tree. Its filename is x86-fix-show-cpuinfo-cpu-number-always-zero.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: x86: fix show cpuinfo cpu number always zero From: Mike Travis <travis@xxxxxxx> Correct the problem that early_identify_cpu() sets cpu_index to '0' (needed when called by setup_arch) after smp_store_cpu_info() had set it to the correct value. The error shows up in 'cat /proc/cpuinfo' will all cpus = 0. Signed-off-by: Mike Travis <travis@xxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Cc: Jack Steiner <steiner@xxxxxxx> Cc: Suresh B Siddha <suresh.b.siddha@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/smpboot_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86/kernel/smpboot_64.c~x86-fix-show-cpuinfo-cpu-number-always-zero arch/x86/kernel/smpboot_64.c --- a/arch/x86/kernel/smpboot_64.c~x86-fix-show-cpuinfo-cpu-number-always-zero +++ a/arch/x86/kernel/smpboot_64.c @@ -139,8 +139,8 @@ static void __cpuinit smp_store_cpu_info struct cpuinfo_x86 *c = &cpu_data(id); *c = boot_cpu_data; - c->cpu_index = id; identify_cpu(c); + c->cpu_index = id; print_cpu_info(c); } _ Patches currently in -mm which might be from travis@xxxxxxx are git-x86.patch x86-fix-show-cpuinfo-cpu-number-always-zero.patch vmstat-remove-prefetch.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html