Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243271
b: refs/heads/master
c: 1738209
h: refs/heads/master
i:
  243269: f6447c4
  243267: b4e51f0
  243263: 0195967
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent f33e166 commit 9fb75ea
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 4fe25e3898ec53de322f32b67afa2be872f8ed21
refs/heads/master: 1738209a1500a10fe3cce0b11b81b5bb1c6dffbe
11 changes: 8 additions & 3 deletions trunk/arch/arm/mach-h720x/cpu-h7202.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,18 @@ h7202_timer_interrupt(int irq, void *dev_id)
/*
* mask multiplexed timer IRQs
*/
static void inline mask_timerx_irq(struct irq_data *d)
static void inline __mask_timerx_irq(unsigned int irq)
{
unsigned int bit;
bit = 2 << ((d->irq == IRQ_TIMER64B) ? 4 : (d->irq - IRQ_TIMER1));
bit = 2 << ((irq == IRQ_TIMER64B) ? 4 : (irq - IRQ_TIMER1));
CPU_REG (TIMER_VIRT, TIMER_TOPCTRL) &= ~bit;
}

static void inline mask_timerx_irq(struct irq_data *d)
{
__mask_timerx_irq(d->irq);
}

/*
* unmask multiplexed timer IRQs
*/
Expand Down Expand Up @@ -196,7 +201,7 @@ void __init h7202_init_irq (void)

for (irq = IRQ_TIMER1;
irq < IRQ_CHAINED_TIMERX(NR_TIMERX_IRQS); irq++) {
mask_timerx_irq(irq);
__mask_timerx_irq(irq);
set_irq_chip(irq, &h7202_timerx_chip);
set_irq_handler(irq, handle_edge_irq);
set_irq_flags(irq, IRQF_VALID );
Expand Down

0 comments on commit 9fb75ea

Please sign in to comment.