The patch titled x86: typo about sequence of cpu_index and cpu_online in show_cpuinfo() has been added to the -mm tree. Its filename is x86-typo-about-sequence-of-cpu_index-and-cpu_online-in.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: typo about sequence of cpu_index and cpu_online in show_cpuinfo() From: Yinghai Lu <Yinghai.Lu@xxxxxxx> Use the real cpu_index instead of 0. Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/cpu/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86/kernel/cpu/proc.c~x86-typo-about-sequence-of-cpu_index-and-cpu_online-in arch/x86/kernel/cpu/proc.c --- a/arch/x86/kernel/cpu/proc.c~x86-typo-about-sequence-of-cpu_index-and-cpu_online-in +++ a/arch/x86/kernel/cpu/proc.c @@ -89,9 +89,9 @@ static int show_cpuinfo(struct seq_file int fpu_exception; #ifdef CONFIG_SMP + n = c->cpu_index; if (!cpu_online(n)) return 0; - n = c->cpu_index; #endif seq_printf(m, "processor\t: %d\n" "vendor_id\t: %s\n" _ Patches currently in -mm which might be from Yinghai.Lu@xxxxxxx are serial-keep-the-dtr-setting-for-serial-console.patch git-x86.patch x86_64-set-cpu_index-to-nr_cpus-instead-of-0.patch x86_64-do-not-clear-cpu_index-set-by-store_cpu_info.patch x86-typo-about-sequence-of-cpu_index-and-cpu_online-in.patch kernel-printkc-concerns-about-the-console-handover.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