From 3107ddd86c0bfd10cb92aaaa2d7bad0b78f3aaad Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 6 Oct 2008 09:30:12 -0400 Subject: [PATCH] --- yaml --- r: 110222 b: refs/heads/master c: 87f3b6b6fbcbfa715f0d0db3e7a63e65716a6d4e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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);