mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
4f2fe5d7fa
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43973
21 lines
565 B
Diff
21 lines
565 B
Diff
--- a/arch/mips/kernel/irq_cpu.c
|
|
+++ b/arch/mips/kernel/irq_cpu.c
|
|
@@ -56,6 +56,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,
|
|
};
|
|
|
|
/*
|
|
@@ -92,6 +94,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,
|
|
};
|
|
|
|
void __init mips_cpu_irq_init(void)
|