Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57117
b: refs/heads/master
c: 28c670c
h: refs/heads/master
i:
  57115: ef42472
v: v3
  • Loading branch information
Russell King authored and Russell King committed May 30, 2007
1 parent 737adcf commit 625edaa
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 5b10c8e436b69f25b6dcb5586bbdc5e39c20ed1d
refs/heads/master: 28c670cb9b0df7c8579f78c9d06e148896378cf4
9 changes: 7 additions & 2 deletions trunk/arch/arm/oprofile/op_model_mpcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,13 @@ static void em_stop(void)
*/
static void em_route_irq(int irq, unsigned int cpu)
{
irq_desc[irq].affinity = cpumask_of_cpu(cpu);
irq_desc[irq].chip->set_affinity(irq, cpumask_of_cpu(cpu));
struct irq_desc *desc = irq_desc + irq;
cpumask_t mask = cpumask_of_cpu(cpu);

spin_lock_irq(&desc->lock);
desc->affinity = mask;
desc->chip->set_affinity(irq, mask);
spin_unlock_irq(&desc->lock);
}

static int em_setup(void)
Expand Down

0 comments on commit 625edaa

Please sign in to comment.