--- zzzz-none-000/linux-5.15.111/lib/vsprintf.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/lib/vsprintf.c 2024-02-07 09:28:08.000000000 +0000 @@ -47,6 +47,10 @@ #include "../mm/internal.h" /* For the trace_print_flags arrays */ +#if defined(CONFIG_AVM_ENHANCED) +#include +#endif/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ + #include /* for PAGE_SIZE */ #include /* cpu_to_le16 */ #include @@ -1019,7 +1023,11 @@ else if (*fmt == 'S' && (fmt[1] == 'b' || (fmt[1] == 'R' && fmt[2] == 'b'))) sprint_symbol_build_id(sym, value); else if (*fmt != 's') +#if defined(CONFIG_AVM_ENHANCED) + print_memory_classifier(sym, sizeof(sym), value, 1); +#else sprint_symbol(sym, value); +#endif/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ else sprint_symbol_no_offset(sym, value);