Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243354
b: refs/heads/master
c: e1f5ce8
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent 492e205 commit b20bd4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: fa680c7c22ea8382847815c5fb91a30202a578a0
refs/heads/master: e1f5ce819c60a1020b43532333b0db291f2ce5c1
16 changes: 8 additions & 8 deletions trunk/arch/unicore32/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,24 +321,24 @@ void __init init_IRQ(void)
writel(1, INTC_ICCR);

for (irq = 0; irq < IRQ_GPIOHIGH; irq++) {
set_irq_chip(irq, &puv3_low_gpio_chip);
set_irq_handler(irq, handle_edge_irq);
irq_set_chip(irq, &puv3_low_gpio_chip);
irq_set_handler(irq, handle_edge_irq);
irq_modify_status(irq,
IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN,
0);
}

for (irq = IRQ_GPIOHIGH + 1; irq < IRQ_GPIO0; irq++) {
set_irq_chip(irq, &puv3_normal_chip);
set_irq_handler(irq, handle_level_irq);
irq_set_chip(irq, &puv3_normal_chip);
irq_set_handler(irq, handle_level_irq);
irq_modify_status(irq,
IRQ_NOREQUEST | IRQ_NOAUTOEN,
IRQ_NOPROBE);
}

for (irq = IRQ_GPIO0; irq <= IRQ_GPIO27; irq++) {
set_irq_chip(irq, &puv3_high_gpio_chip);
set_irq_handler(irq, handle_edge_irq);
irq_set_chip(irq, &puv3_high_gpio_chip);
irq_set_handler(irq, handle_edge_irq);
irq_modify_status(irq,
IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN,
0);
Expand All @@ -347,8 +347,8 @@ void __init init_IRQ(void)
/*
* Install handler for GPIO 0-27 edge detect interrupts
*/
set_irq_chip(IRQ_GPIOHIGH, &puv3_normal_chip);
set_irq_chained_handler(IRQ_GPIOHIGH, puv3_gpio_handler);
irq_set_chip(IRQ_GPIOHIGH, &puv3_normal_chip);
irq_set_chained_handler(IRQ_GPIOHIGH, puv3_gpio_handler);

#ifdef CONFIG_PUV3_GPIO
puv3_init_gpio();
Expand Down

0 comments on commit b20bd4d

Please sign in to comment.