Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119274
b: refs/heads/master
c: 0ca4b6b
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Linus Torvalds committed Nov 20, 2008
1 parent 9c3df7d commit d9d595d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23918b03060f6e572168fdde1798a905679d2e06
refs/heads/master: 0ca4b6b00113b064c080d26d803d0d7c80fb5dc8
14 changes: 14 additions & 0 deletions trunk/arch/x86/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,20 @@ static void __clear_irq_vector(int irq)

cfg->vector = 0;
cpus_clear(cfg->domain);

if (likely(!cfg->move_in_progress))
return;
cpus_and(mask, cfg->old_domain, cpu_online_map);
for_each_cpu_mask_nr(cpu, mask) {
for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS;
vector++) {
if (per_cpu(vector_irq, cpu)[vector] != irq)
continue;
per_cpu(vector_irq, cpu)[vector] = -1;
break;
}
}
cfg->move_in_progress = 0;
}

void __setup_vector_irq(int cpu)
Expand Down

0 comments on commit d9d595d

Please sign in to comment.