X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fmodule.c;h=ee918938518ad49a12d0eb3569219dbfedd60c26;hb=4e2d92454b2d822fe1d474efabccc2a3806d5f86;hp=679e4c88ed9e4ef6d51a6facca20db9b467693a8;hpb=ad9546c9917d44eddc7676b639296d624cee455e;p=linux-2.6-omap-h63xx.git diff --git a/kernel/module.c b/kernel/module.c index 679e4c88ed9..ee918938518 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1996,7 +1996,8 @@ static struct module *load_module(void __user *umod, mod->unused_crcs = (void *)sechdrs[unusedcrcindex].sh_addr; mod->unused_gpl_syms = (void *)sechdrs[unusedgplindex].sh_addr; if (unusedgplcrcindex) - mod->unused_crcs = (void *)sechdrs[unusedgplcrcindex].sh_addr; + mod->unused_gpl_crcs + = (void *)sechdrs[unusedgplcrcindex].sh_addr; #ifdef CONFIG_MODVERSIONS if ((mod->num_syms && !crcindex) ||