+ x86_64-do-not-clear-cpu_index-set-by-store_cpu_info.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     x86_64: do not clear cpu_index set by store_cpu_info
has been added to the -mm tree.  Its filename is
     x86_64-do-not-clear-cpu_index-set-by-store_cpu_info.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_64: do not clear cpu_index set by store_cpu_info
From: Yinghai Lu <Yinghai.Lu@xxxxxxx>

early_indentify_cpu() is called after store_cpu_info().  So don't clear the
assigned cpu_index.

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/setup_64.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN arch/x86/kernel/setup_64.c~x86_64-do-not-clear-cpu_index-set-by-store_cpu_info arch/x86/kernel/setup_64.c
--- a/arch/x86/kernel/setup_64.c~x86_64-do-not-clear-cpu_index-set-by-store_cpu_info
+++ a/arch/x86/kernel/setup_64.c
@@ -940,7 +940,6 @@ void __cpuinit early_identify_cpu(struct
 
 #ifdef CONFIG_SMP
 	c->phys_proc_id = (cpuid_ebx(1) >> 24) & 0xff;
-	c->cpu_index = 0;
 #endif
 
 	/* AMD-defined flags: level 0x80000001 */
_

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
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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux