mdb: export kernel_text_address
PATCH 22/29 mdb: export kernel_text_address
export the kernel_text_address() to allow symbol searching and matches of symbolic names contained the the kernel symbol table.
Signed-off-by Jeffrey Vernon Merkey ([email protected])
kernel/extable.c +3 -0
@@ -59,6 +59,9 @@return 1 ;return __module_text_address (addr) !=NULL ; } +#if defined(CONFIG_MDB_MODULE ) +EXPORT_SYMBOL_GPL (__kernel_text_address); +#endif int kernel_text_address (unsigned long addr) {