]> git.openfabrics.org - ~emulex/tmp/compat/.git/commit
compat: make all modules depend on compat
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Mar 2012 05:03:22 +0000 (21:03 -0800)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Sun, 4 Mar 2012 05:03:22 +0000 (21:03 -0800)
commit086f3a1b5962866a12d8964d0baf5d7a5a3826f5
treeef247b7c236262a19f54fa47ddc38b924ca9ca12
parent1d5f1472645246b9cff6c5674ed5440fce9e84ba
compat: make all modules depend on compat

Sometimes, compat based drivers do not depend on
compat.ko because the base kernel is new enough.
This causes compat to not be loaded and makes it
harder to identify that the modules were based
on compat.

Re-define module_init() to make all modules that
were compiled against compat also require to be
linked against compat.ko.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat/main.c
include/linux/compat-2.6.h