Re: [PATCH] module: Fix up CONFIG_KALLSYMS=n build.

From: Jan Beulich
Date: Fri Sep 25 2009 - 02:42:18 EST


>>> Paul Mundt <lethal@xxxxxxxxxxxx> 25.09.09 05:45 >>>
>There are three different issues:
>
> - layout_symtab() takes a const Elf_Ehdr
>
> - layout_symtab() needs to return a value
>
> - symoffs/stroffs/strmap are referenced by the load_module() code
> despite being ifdefed out, which seems unnecessary given the noop
> behaviour of layout_symtab()/add_kallsyms() in the case of
> CONFIG_KALLSYMS=n.
>
>Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>

Oh, sorry for not having checked that. Thanks, and

Acked-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--
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/