summaryrefslogtreecommitdiff
path: root/target/linux/xburst/files-2.6.32
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-03-09 12:03:48 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-03-09 12:03:48 +0000
commita5441beb82e7dde4edb1206535aa7710ba941bc4 (patch)
tree186d4adebdaae116e888f5049c3c5ef491ebd36d /target/linux/xburst/files-2.6.32
parent9b8ff17f8ca156189e0787f4b0bd88f207530832 (diff)
downloadmtk-20170518-a5441beb82e7dde4edb1206535aa7710ba941bc4.zip
mtk-20170518-a5441beb82e7dde4edb1206535aa7710ba941bc4.tar.gz
mtk-20170518-a5441beb82e7dde4edb1206535aa7710ba941bc4.tar.bz2
jz4740: Properly setup intc irq handler.
SVN-Revision: 20082
Diffstat (limited to 'target/linux/xburst/files-2.6.32')
-rw-r--r--target/linux/xburst/files-2.6.32/arch/mips/jz4740/irq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/irq.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/irq.c
index 11e5a63..5555026 100644
--- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/irq.c
+++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/irq.c
@@ -88,7 +88,8 @@ static irqreturn_t jz4740_cascade(int irq, void *data)
static struct irqaction jz4740_cascade_action = {
.handler = jz4740_cascade,
- .name = "JZ4740 cascade interrupt"
+ .name = "JZ4740 cascade interrupt",
+ .flags = IRQF_DISABLED,
};
void __init arch_init_irq(void)
@@ -110,7 +111,7 @@ asmlinkage void plat_irq_dispatch(void)
{
unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM;
if (pending & STATUSF_IP2)
- jz4740_cascade(2, NULL);
+ do_IRQ(2);
else if(pending & STATUSF_IP3)
do_IRQ(3);
else