Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38336
b: refs/heads/master
c: 78b656b
h: refs/heads/master
v: v3
  • Loading branch information
Keith Mannthey authored and Linus Torvalds committed Oct 4, 2006
1 parent 0a931bb commit a6fb263
Show file tree
Hide file tree
Showing 3 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: 708e16892e1646594a29eaa7ac7b209b600b9fd2
refs/heads/master: 78b656b8bf933101b42409b4492734b23427bfc3
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ static void map_cpu_to_logical_apicid(void)
{
int cpu = smp_processor_id();
int apicid = logical_smp_processor_id();
int node = apicid_to_node(hard_smp_processor_id());
int node = apicid_to_node(apicid);

if (!node_online(node))
node = first_online_node;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/mach-summit/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static inline void clustered_apic_check(void)

static inline int apicid_to_node(int logical_apicid)
{
return apicid_2_node[logical_apicid];
return apicid_2_node[hard_smp_processor_id()];
}

/* Mapping from cpu number to logical apicid */
Expand Down

0 comments on commit a6fb263

Please sign in to comment.