Re: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms[try #2]

From: Andrew Morton
Date: Thu Nov 15 2007 - 17:45:35 EST


On Thu, 15 Nov 2007 14:40:07 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> But it all strikes me as a bit fragile and grotty. Perhaps longer-term it
> would be better if scripts/kallsyms.c were to also emit a header file which
> declares all the things which that program emits the definitions of, no?
>
> I guess that means that we'd need to run the program twice - once at the
> start of compilation in generate-the-header-file mode and once at the end
> of compilation in generate-the-symbols mode.

Although given that this header file will be the same each time that
program is run, we might as well just type the thing in. And remember to
keep it in sync with changes to scritps/kallsyms output?
-
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/