diff options
-rw-r--r-- | kernel/module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c index 679e4c88ed9e..ee918938518a 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -1996,7 +1996,8 @@ static struct module *load_module(void __user *umod, | |||
1996 | mod->unused_crcs = (void *)sechdrs[unusedcrcindex].sh_addr; | 1996 | mod->unused_crcs = (void *)sechdrs[unusedcrcindex].sh_addr; |
1997 | mod->unused_gpl_syms = (void *)sechdrs[unusedgplindex].sh_addr; | 1997 | mod->unused_gpl_syms = (void *)sechdrs[unusedgplindex].sh_addr; |
1998 | if (unusedgplcrcindex) | 1998 | if (unusedgplcrcindex) |
1999 | mod->unused_crcs = (void *)sechdrs[unusedgplcrcindex].sh_addr; | 1999 | mod->unused_gpl_crcs |
2000 | = (void *)sechdrs[unusedgplcrcindex].sh_addr; | ||
2000 | 2001 | ||
2001 | #ifdef CONFIG_MODVERSIONS | 2002 | #ifdef CONFIG_MODVERSIONS |
2002 | if ((mod->num_syms && !crcindex) || | 2003 | if ((mod->num_syms && !crcindex) || |