mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
d26694243a
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44126
21 lines
576 B
Diff
21 lines
576 B
Diff
--- a/arch/mips/kernel/irq_cpu.c
|
|
+++ b/arch/mips/kernel/irq_cpu.c
|
|
@@ -57,6 +57,8 @@ static struct irq_chip mips_cpu_irq_cont
|
|
.irq_mask_ack = mask_mips_irq,
|
|
.irq_unmask = unmask_mips_irq,
|
|
.irq_eoi = unmask_mips_irq,
|
|
+ .irq_disable = mask_mips_irq,
|
|
+ .irq_enable = unmask_mips_irq,
|
|
};
|
|
|
|
/*
|
|
@@ -93,6 +95,8 @@ static struct irq_chip mips_mt_cpu_irq_c
|
|
.irq_mask_ack = mips_mt_cpu_irq_ack,
|
|
.irq_unmask = unmask_mips_irq,
|
|
.irq_eoi = unmask_mips_irq,
|
|
+ .irq_disable = mask_mips_irq,
|
|
+ .irq_enable = unmask_mips_irq,
|
|
};
|
|
|
|
asmlinkage void __weak plat_irq_dispatch(void)
|