Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40123
b: refs/heads/master
c: 45edfd1
h: refs/heads/master
i:
  40121: 64f4439
  40119: 0452e60
v: v3
  • Loading branch information
Yinghai Lu authored and Andi Kleen committed Oct 21, 2006
1 parent a06001c commit f5b0ec4
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: 926fafebc48a3218fac675f12974f9a46473bd40
refs/heads/master: 45edfd1db02f818b3dc7e4743ee8585af6b78f78
6 changes: 3 additions & 3 deletions trunk/arch/x86_64/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,12 +651,12 @@ static int __assign_irq_vector(int irq, cpumask_t mask, cpumask_t *result)
if (vector == IA32_SYSCALL_VECTOR)
goto next;
for_each_cpu_mask(new_cpu, domain)
if (per_cpu(vector_irq, cpu)[vector] != -1)
if (per_cpu(vector_irq, new_cpu)[vector] != -1)
goto next;
/* Found one! */
for_each_cpu_mask(new_cpu, domain) {
pos[cpu].vector = vector;
pos[cpu].offset = offset;
pos[new_cpu].vector = vector;
pos[new_cpu].offset = offset;
}
if (old_vector >= 0) {
int old_cpu;
Expand Down

0 comments on commit f5b0ec4

Please sign in to comment.