Re: [PATCH] Put all functions in kallsyms

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Mon Mar 31 2003 - 18:40:27 EST


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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:37 EST