--- zzzz-none-000/linux-5.15.111/mm/vmstat.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/mm/vmstat.c 2024-02-07 09:28:09.000000000 +0000 @@ -135,6 +135,15 @@ } EXPORT_SYMBOL_GPL(all_vm_events); +//original author: mbahr +#if defined(CONFIG_AVM_POWERMETER) +/**--------------------------------------------------------------------------------**\ + * unprotected - for bh/irq-context +\**--------------------------------------------------------------------------------**/ +void __all_vm_events(unsigned long *ret) { + sum_vm_events(ret); +} +#endif/*--- #if defined(CONFIG_AVM_POWERMETER) ---*/ /* * Fold the foreign cpu events into our own. *