Re: [PATCH] Put all functions in kallsyms

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Mon, 31 Mar 2003 17:40:27 -0600 (CST)


On Mon, 31 Mar 2003, Rusty Russell wrote:

> Simple, untested patch. Any objections?

No objection, but you need to adapt the test in
kernel/kallsyms.c:

if (addr >= (unsigned long)_stext && addr <= (unsigned long)_etext) {

and in kernel/extable.c:

if (addr >= (unsigned long)_stext &&
addr <= (unsigned long)_etext)

Otherwise, you'd just add bloat with no gain at all ;)

--Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/