2008-08-14 06:47:32

by Jeffrey V. Merkey

[permalink] [raw]
Subject: [PATCH 2.6.27-rc3 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])

--- a/kernel/extable.c 2008-07-13 15:51:29.000000000 -0600
+++ b/kernel/extable.c 2008-08-13 11:56:03.000000000 -0600
@@ -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)
{