--- zzzz-none-000/linux-4.9.218/arch/mips/lantiq/irq.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/arch/mips/lantiq/irq.c 2022-11-30 09:46:19.000000000 +0000 @@ -21,6 +21,10 @@ #include #include +#if defined(CONFIG_AVM_POWER) +#include +#endif /*--- #if defined(CONFIG_AVM_POWER) ---*/ + /* register definitions - internal irqs */ #define LTQ_ICU_IM0_ISR 0x0000 #define LTQ_ICU_IM0_IER 0x0008 @@ -316,6 +320,10 @@ unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; unsigned int i; +#if defined(CONFIG_AVM_POWER) + avm_cpu_wait_end(); /*--- auch wenn es r4k_wait_irqoff gibt: trotzdem aufrufen, um system-load-Ausgabe zu triggern ---*/ +#endif /*--- #if defined(CONFIG_AVM_POWER) ---*/ + if ((MIPS_CPU_TIMER_IRQ == 7) && (pending & CAUSEF_IP7)) { do_IRQ(MIPS_CPU_TIMER_IRQ); goto out;