]> git.hungrycats.org Git - linux/commit
[PATCH] Fix More Problems Introduced By Module Structure Added in modpost.c
authorAndrew Morton <akpm@osdl.org>
Mon, 12 Apr 2004 08:03:15 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 12 Apr 2004 08:03:15 +0000 (01:03 -0700)
commit6ab26f0a7443f4d4e2b13c31717088ad410cb64b
tree8576b8791d034e437aff2dba9ca198fcc3724b86
parent2386894043fc3be2c0d2d25edb8c741f18c592ec
[PATCH] Fix More Problems Introduced By Module Structure Added in modpost.c

From: Rusty Russell <rusty@rustcorp.com.au>

Sam Ravnborg found these.

1) have_vmlinux is a global, and should not be reset every time.

2) We pretend every module needs cleanup_module so it gets versioned,
   but that isn't defined for CONFIG_MODULE_UNLOAD=n.

3) The visible effect of this is that modpost will start complaning about
   undefined symbols - previously this happened only when the module was
   isntalled.
scripts/modpost.c