Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309071
b: refs/heads/master
c: 16f70b5
h: refs/heads/master
i:
  309069: 97008a3
  309067: 866d521
  309063: 3b1f2b6
  309055: c92930b
v: v3
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 15, 2012
1 parent 0fbfc9c commit fb68b18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 3489d72d1592deee6628ca223e06da5363a12f4d
refs/heads/master: 16f70b561dd897dc324b726ebc94e0c87db26f61
11 changes: 6 additions & 5 deletions trunk/arch/mips/lantiq/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,13 @@ void __init arch_init_irq(void)
if (!ltq_eiu_membase)
panic("Failed to remap eiu memory");

/* make sure all irqs are turned off by default */
for (i = 0; i < 5; i++)
/* turn off all irqs by default */
for (i = 0; i < 5; i++) {
/* make sure all irqs are turned off by default */
ltq_icu_w32(0, LTQ_ICU_IM0_IER + (i * LTQ_ICU_OFFSET));

/* clear all possibly pending interrupts */
ltq_icu_w32(~0, LTQ_ICU_IM0_ISR + (i * LTQ_ICU_OFFSET));
/* clear all possibly pending interrupts */
ltq_icu_w32(~0, LTQ_ICU_IM0_ISR + (i * LTQ_ICU_OFFSET));
}

mips_cpu_irq_init();

Expand Down

0 comments on commit fb68b18

Please sign in to comment.