--- zzzz-none-000/linux-2.6.39.4/lib/vsprintf.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/lib/vsprintf.c 2021-11-10 13:23:11.000000000 +0000 @@ -26,6 +26,9 @@ #include #include #include +#if defined(CONFIG_AVM_ENHANCED) +#include +#endif/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ #include /* for PAGE_SIZE */ #include @@ -436,7 +439,11 @@ if (ext == 'B') sprint_backtrace(sym, value); else if (ext != 'f' && ext != '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 kallsyms_lookup(value, NULL, NULL, NULL, sym);