diff options
-rw-r--r-- | scripts/mod/modpost.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 2ef9a193fcae..93ac52adb498 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -268,6 +268,9 @@ static struct symbol *sym_add_exported(const char *name, struct module *mod, | |||
268 | "was in %s%s\n", mod->name, name, | 268 | "was in %s%s\n", mod->name, name, |
269 | s->module->name, | 269 | s->module->name, |
270 | is_vmlinux(s->module->name) ?"":".ko"); | 270 | is_vmlinux(s->module->name) ?"":".ko"); |
271 | } else { | ||
272 | /* In case Modules.symvers was out of date */ | ||
273 | s->module = mod; | ||
271 | } | 274 | } |
272 | } | 275 | } |
273 | s->preloaded = 0; | 276 | s->preloaded = 0; |