diff --git a/[refs] b/[refs] index e6bc17470695..53a780c28bea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: afed26d151ba90b08361d4af0223daa362136ebd +refs/heads/master: 87f3b6b6fbcbfa715f0d0db3e7a63e65716a6d4e diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 418cd7dbbc93..8e0de6a5e18a 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -1986,11 +1986,13 @@ static void read_markers(const char *fname) mod = find_module(modname); if (!mod) { - if (is_vmlinux(modname)) - have_vmlinux = 1; mod = new_module(NOFAIL(strdup(modname))); mod->skip = 1; } + if (is_vmlinux(modname)) { + have_vmlinux = 1; + mod->skip = 0; + } if (!mod->skip) add_marker(mod, marker, fmt);