Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334192
b: refs/heads/master
c: d23b579
h: refs/heads/master
v: v3
  • Loading branch information
Gong Tao authored and Jonas Bonn committed Oct 11, 2012
1 parent 7364043 commit 24333b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8eea8a6a9a2af067bd3006f7fefab66a4fb66451
refs/heads/master: d23b5799b608112bb799c9b0e1e11ee1da692d76
2 changes: 2 additions & 0 deletions trunk/arch/openrisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ static void or1k_pic_mask_ack(struct irq_data *data)
/* Comments for pic_ack apply here, too */

#ifdef CONFIG_OR1K_1200
mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq));
mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
#else
WARN(1, "Interrupt handling possibly broken\n");
mtspr(SPR_PICMR, (1UL << data->hwirq));
mtspr(SPR_PICSR, (1UL << data->hwirq));
#endif
}
Expand Down

0 comments on commit 24333b4

Please sign in to comment.