Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204543
b: refs/heads/master
c: f5c1ca7
h: refs/heads/master
i:
  204541: 5a3093d
  204539: c457570
  204535: 73596c0
  204527: 2f06b95
  204511: 841de97
  204479: c4e60a0
  204415: 69bc821
  204287: 90ad073
v: v3
  • Loading branch information
Shinya Kuribayashi authored and Ralf Baechle committed Aug 5, 2010
1 parent 3cf72cc commit edb436f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 1f1f4e7dbc0c0312e9e7fe3cadd07340ea62070f
refs/heads/master: f5c1ca77a3b2f9b424c4f39bd71143d0ac308924
11 changes: 4 additions & 7 deletions trunk/arch/mips/loongson/common/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,16 @@ void bonito_irqdispatch(void)

/* workaround the IO dma problem: let cpu looping to allow DMA finish */
int_status = LOONGSON_INTISR;
if (int_status & (1 << 10)) {
while (int_status & (1 << 10)) {
udelay(1);
int_status = LOONGSON_INTISR;
}
while (int_status & (1 << 10)) {
udelay(1);
int_status = LOONGSON_INTISR;
}

/* Get pending sources, masked by current enables */
int_status = LOONGSON_INTISR & LOONGSON_INTEN;

if (int_status != 0) {
if (int_status) {
i = __ffs(int_status);
int_status &= ~(1 << i);
do_IRQ(LOONGSON_IRQ_BASE + i);
}
}
Expand Down

0 comments on commit edb436f

Please sign in to comment.