--- zzzz-none-000/linux-2.6.32.61/lib/vsprintf.c 2013-06-10 09:43:48.000000000 +0000 +++ ar10-7272-687/linux-2.6.32.61/lib/vsprintf.c 2013-02-25 13:58:31.000000000 +0000 @@ -578,6 +578,7 @@ static char *symbol_string(char *buf, char *end, void *ptr, struct printf_spec spec, char ext) { + extern char *module_alloc_find_module_name(char *buff, char *end, unsigned long addr) __attribute__ ((weak)); unsigned long value = (unsigned long) ptr; #ifdef CONFIG_KALLSYMS char sym[KSYM_SYMBOL_LEN]; @@ -590,6 +591,9 @@ spec.field_width = 2*sizeof(void *); spec.flags |= SPECIAL | SMALL | ZEROPAD; spec.base = 16; + if(!IS_ERR(module_alloc_find_module_name)) { + return module_alloc_find_module_name(buf, end, value); + } return number(buf, end, value, spec); #endif }