projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some tools that the foxboard users are used to, when working with the fox
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
arch
/
mips
/
adm5120
/
irq.c
diff --git
a/target/linux/adm5120-2.6/files/arch/mips/adm5120/irq.c
b/target/linux/adm5120-2.6/files/arch/mips/adm5120/irq.c
index
46f3bb0
..
c53272e
100644
(file)
--- a/
target/linux/adm5120-2.6/files/arch/mips/adm5120/irq.c
+++ b/
target/linux/adm5120-2.6/files/arch/mips/adm5120/irq.c
@@
-48,11
+48,12
@@
void adm5120_hw0_irqdispatch(struct pt_regs *regs)
intsrc = ADM5120_INTC_STATUS & ADM5120_IRQ_MASK;
intsrc = ADM5120_INTC_STATUS & ADM5120_IRQ_MASK;
- for (i = 0; intsrc; intsrc >>= 1, i++)
- if (intsrc & 0x1)
- do_IRQ(i);
- else
- spurious_interrupt();
+ if (intsrc) {
+ for (i = 0; intsrc; intsrc >>= 1, i++)
+ if (intsrc & 0x1)
+ do_IRQ(i);
+ } else
+ spurious_interrupt();
}
void mips_timer_interrupt(struct pt_regs *regs)
}
void mips_timer_interrupt(struct pt_regs *regs)
This page took
0.022256 seconds
and
4
git commands to generate.