Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4186
b: refs/heads/master
c: 12cf649
h: refs/heads/master
v: v3
  • Loading branch information
Eddie C. Dost authored and David S. Miller committed Jul 6, 2005
1 parent 97f3b57 commit 1298ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00
refs/heads/master: 12cf649f417c68b6bdd2a3b4ed97113159c6029e
7 changes: 5 additions & 2 deletions trunk/arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,8 @@ static int irq_affinity_read_proc (char *page, char **start, off_t off,
int count, int *eof, void *data)
{
struct ino_bucket *bp = ivector_table + (long)data;
struct irqaction *ap = bp->irq_info;
struct irq_desc *desc = bp->irq_info;
struct irqaction *ap = desc->action;
cpumask_t mask;
int len;

Expand All @@ -935,11 +936,13 @@ static int irq_affinity_read_proc (char *page, char **start, off_t off,
static inline void set_intr_affinity(int irq, cpumask_t hw_aff)
{
struct ino_bucket *bp = ivector_table + irq;
struct irq_desc *desc = bp->irq_info;
struct irqaction *ap = desc->action;

/* Users specify affinity in terms of hw cpu ids.
* As soon as we do this, handler_irq() might see and take action.
*/
put_smpaff_in_irqaction((struct irqaction *)bp->irq_info, hw_aff);
put_smpaff_in_irqaction(ap, hw_aff);

/* Migration is simply done by the next cpu to service this
* interrupt.
Expand Down

0 comments on commit 1298ee9

Please sign in to comment.