Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99918
b: refs/heads/master
c: f47f9d5
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 8, 2008
1 parent b5b8c54 commit fb7526e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 232b957ae93973a5f8619ef61b916744b747478c
refs/heads/master: f47f9d538ecc938bed589e9d39ad7b454f3b506c
2 changes: 1 addition & 1 deletion trunk/include/asm-x86/mach-bigsmp/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static inline int multi_timer_check(int apic, int irq)

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

static inline int cpu_present_to_apicid(int mps_cpu)
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/asm-x86/mach-default/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ static inline void setup_apic_routing(void)

static inline int apicid_to_node(int logical_apicid)
{
#ifdef CONFIG_SMP
return apicid_2_node[hard_smp_processor_id()];
#else
return 0;
#endif
}
#endif

Expand Down

0 comments on commit fb7526e

Please sign in to comment.