[PATCH 2.6.27-rc3 22/29] mdb: export kernel_text_address

From: jmerkey
Date: Thu Aug 14 2008 - 02:47:34 EST


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 (jmerkey@xxxxxxxxxxxxxxxxxxxxx)

--- 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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/