diff options
Diffstat (limited to 'target/linux/amazon/files/arch/mips/amazon/interrupt.c')
-rw-r--r-- | target/linux/amazon/files/arch/mips/amazon/interrupt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/amazon/files/arch/mips/amazon/interrupt.c b/target/linux/amazon/files/arch/mips/amazon/interrupt.c index e61ccdfc3d..17980fb118 100644 --- a/target/linux/amazon/files/arch/mips/amazon/interrupt.c +++ b/target/linux/amazon/files/arch/mips/amazon/interrupt.c @@ -184,3 +184,10 @@ void __init arch_init_irq(void) set_irq_chip(i, &amazon_irq_type); } } + +void __cpuinit arch_fixup_c0_irqs(void) +{ + /* FIXME: check for CPUID and only do fix for specific chips/versions */ + cp0_compare_irq = CP0_LEGACY_COMPARE_IRQ; + cp0_perfcount_irq = CP0_LEGACY_PERFCNT_IRQ; +} |