Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63559
b: refs/heads/master
c: 216fcd2
h: refs/heads/master
i:
  63557: fd146a5
  63555: 68073e8
  63551: dc136b1
v: v3
  • Loading branch information
Kenji Kaneshige authored and Tony Luck committed Jul 30, 2007
1 parent 903171e commit c60420f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 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: c4c376f7e16deeba8f0542eabcaca19b712e7be1
refs/heads/master: 216fcd29af47ab53ffd87e82139fcc4095e34d91
17 changes: 6 additions & 11 deletions trunk/arch/ia64/kernel/irq_ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,6 @@ int check_irq_used(int irq)
return -1;
}

static void reserve_irq(unsigned int irq)
{
unsigned long flags;

spin_lock_irqsave(&vector_lock, flags);
irq_status[irq] = IRQ_RSVD;
spin_unlock_irqrestore(&vector_lock, flags);
}

static inline int find_unassigned_irq(void)
{
int irq;
Expand Down Expand Up @@ -302,10 +293,14 @@ static cpumask_t vector_allocation_domain(int cpu)

void destroy_and_reserve_irq(unsigned int irq)
{
unsigned long flags;

dynamic_irq_cleanup(irq);

clear_irq_vector(irq);
reserve_irq(irq);
spin_lock_irqsave(&vector_lock, flags);
__clear_irq_vector(irq);
irq_status[irq] = IRQ_RSVD;
spin_unlock_irqrestore(&vector_lock, flags);
}

static int __reassign_irq_vector(int irq, int cpu)
Expand Down

0 comments on commit c60420f

Please sign in to comment.