Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64482
b: refs/heads/master
c: 5d3fdea
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Aug 27, 2007
1 parent 02e3cee commit e2619d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 6c76988b813ae7a9fa2282032effa6f5a66dd8d2
refs/heads/master: 5d3fdeacee5d071a5c3d674231bf00cfa5d35a7a
10 changes: 3 additions & 7 deletions trunk/arch/mips/kernel/irq_txx9.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,9 @@ static void txx9_irq_mask_ack(unsigned int irq)
unsigned int irq_nr = irq - TXX9_IRQ_BASE;

txx9_irq_mask(irq);
if (TXx9_IRCR_EDGE(txx9irq[irq_nr].mode)) {
/* clear edge detection */
u32 cr = __raw_readl(&txx9_ircptr->cr[irq_nr / 8]);
cr = (cr >> ((irq_nr & (8 - 1)) * 2)) & 3;
__raw_writel(TXx9_IRSCR_EIClrE | irq_nr,
&txx9_ircptr->scr);
}
/* clear edge detection */
if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode)))
__raw_writel(TXx9_IRSCR_EIClrE | irq_nr, &txx9_ircptr->scr);
}

static int txx9_irq_set_type(unsigned int irq, unsigned int flow_type)
Expand Down

0 comments on commit e2619d4

Please sign in to comment.