From 348dd3d187c072d73a1b0e6f33a80bb707c3db96 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 11 Oct 2007 16:40:10 -0700 Subject: [PATCH] --- yaml --- r: 71658 b: refs/heads/master c: 4b21960f90d4d011e49e386d0525b1e89f320658 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 12b6ef8a3945..7ebd09b9c957 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 37ab7a269637086d56940c31968f3fb3389b6d68 +refs/heads/master: 4b21960f90d4d011e49e386d0525b1e89f320658 diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 2ef9a193fcae..93ac52adb498 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -268,6 +268,9 @@ static struct symbol *sym_add_exported(const char *name, struct module *mod, "was in %s%s\n", mod->name, name, s->module->name, is_vmlinux(s->module->name) ?"":".ko"); + } else { + /* In case Modules.symvers was out of date */ + s->module = mod; } } s->preloaded = 0;