Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23811
b: refs/heads/master
c: 60c1bc8
h: refs/heads/master
i:
  23809: 7650431
  23807: 133761b
v: v3
  • Loading branch information
Ravikiran G Thirumalai authored and Linus Torvalds committed Mar 25, 2006
1 parent 689789e commit 5aacbff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e57113bc1ff591005ec0b0fb4885d97c01de73d8
refs/heads/master: 60c1bc82d9d42486e2b96de668b0b49fadaffd12
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
unsigned bits;
#ifdef CONFIG_NUMA
int node = 0;
unsigned apicid = phys_proc_id[cpu];
unsigned apicid = hard_smp_processor_id();
#endif

bits = 0;
Expand All @@ -856,7 +856,7 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
/* Low order bits define the core id (index of core in socket) */
cpu_core_id[cpu] = phys_proc_id[cpu] & ((1 << bits)-1);
/* Convert the APIC ID into the socket ID */
phys_proc_id[cpu] >>= bits;
phys_proc_id[cpu] = phys_pkg_id(bits);

#ifdef CONFIG_NUMA
node = phys_proc_id[cpu];
Expand Down

0 comments on commit 5aacbff

Please sign in to comment.