This patch fixes the problem introduced by: http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc8/2.6.23-rc8-mm2/b... The problem is that every processor line in /proc/cpuinfo displays zero on x86_64. $ grep processor /proc/cpuinfo processor : 0 processor : 0 Because early_identify_cpu() overwrites c->cpu_index for every cpuinfo. This patch removes that unnecessary initialization for c->cpu_index. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Index: 2.6-mm/arch/x86_64/kernel/setup.c =================================================================== --- 2.6-mm.orig/arch/x86_64/kernel/setup.c +++ 2.6-mm/arch/x86_64/kernel/setup.c @@ -967,7 +967,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 */ xlvl = cpuid_eax(0x80000000); -
| Andrew Morton | Re: Linux 2.6.21-rc4 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Balbir Singh | Re: [RFC][PATCH 2/7] RSS controller core |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Andreas Henriksson | [PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage. |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
