Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182125
b: refs/heads/master
c: c45ef44
h: refs/heads/master
i:
  182123: b8e06f1
v: v3
  • Loading branch information
Ralf Baechle committed Feb 27, 2010
1 parent e6b1306 commit e43be24
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: a963dc70a286898c91d021e53317ba3d485e0b93
refs/heads/master: c45ef44f474a82fdec96704bece192e487dca373
6 changes: 3 additions & 3 deletions trunk/arch/mips/powertv/asic/asic_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@

#include <asm/mach-powertv/asic_regs.h>

static DEFINE_SPINLOCK(asic_irq_lock);
static DEFINE_RAW_SPINLOCK(asic_irq_lock);

static inline int get_int(void)
{
unsigned long flags;
int irq;

spin_lock_irqsave(&asic_irq_lock, flags);
raw_spin_lock_irqsave(&asic_irq_lock, flags);

irq = (asic_read(int_int_scan) >> 4) - 1;

if (irq == 0 || irq >= NR_IRQS)
irq = -1;

spin_unlock_irqrestore(&asic_irq_lock, flags);
raw_spin_unlock_irqrestore(&asic_irq_lock, flags);

return irq;
}
Expand Down

0 comments on commit e43be24

Please sign in to comment.