Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125388
b: refs/heads/master
c: 7d87d53
h: refs/heads/master
v: v3
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Dec 23, 2008
1 parent b392c1d commit 86147ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 36dffab679c7eeb91c2507400cf4da6e9e01164e
refs/heads/master: 7d87d5365556b1c6e8c00abcc632c3ad1fdc58b8
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/genx2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static unsigned int x2apic_cpu_mask_to_apicid(const struct cpumask *cpumask)
int cpu;

/*
* We're using fixed IRQ delivery, can only return one phys APIC ID.
* We're using fixed IRQ delivery, can only return one logical APIC ID.
* May as well be the first.
*/
cpu = cpumask_first(cpumask);
Expand All @@ -130,14 +130,14 @@ static unsigned int x2apic_cpu_mask_to_apicid_and(const struct cpumask *cpumask,
int cpu;

/*
* We're using fixed IRQ delivery, can only return one phys APIC ID.
* We're using fixed IRQ delivery, can only return one logical APIC ID.
* May as well be the first.
*/
for_each_cpu_and(cpu, cpumask, andmask)
if (cpumask_test_cpu(cpu, cpu_online_mask))
break;
if (cpu < nr_cpu_ids)
return per_cpu(x86_cpu_to_apicid, cpu);
return per_cpu(x86_cpu_to_logical_apicid, cpu);
return BAD_APICID;
}

Expand Down

0 comments on commit 86147ec

Please sign in to comment.