Re: [PATCH v2 48/76] ARC: Module support

From: Arnd Bergmann
Date: Fri Jan 18 2013 - 09:50:23 EST


On Friday 18 January 2013, Vineet Gupta wrote:

> +int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
> + char *secstr, struct module *mod)
> +{
> + return 0;
> +}
> +
> +void module_arch_cleanup(struct module *mod)
> +{
> +}
> +
> +int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
> + struct module *mod)
> +{
> + return 0;
> +}

These three empty functions are already defined __weak in kernel/module.c
so you can simply omit them here.

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