]> git.neil.brown.name Git - history.git/commit
kbuild: Clarify the CONFIG_MODVERSIONS logic
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sat, 1 Jun 2002 20:02:57 +0000 (15:02 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sat, 1 Jun 2002 20:02:57 +0000 (15:02 -0500)
commitc6fd296c975ab26aaff9c5fee6888a1a6a9f784f
treef7a8864f428a95fb4db10b54da4e5999c084473b
parent9168efd228a9fe3ae8475b2f7a773250de9d5aff
kbuild: Clarify the CONFIG_MODVERSIONS logic

Observe that
defined(MODVERSIONS) == defined(CONFIG_MODVERSIONS) && defined(MODULE)
and from there I step by step simplified the logic in
include/linux/module.h - staying logically equivalent, but it is much
more understandable now, IMO.

Still added a huge comment trying to help other people understand
what kind of magic happens here.
include/linux/module.h