Skip to contentSkip to conversation

final init.h --> module.h code relocation

GIT PULL Paul Gortmaker 1 participant 1 message Jul 13, 2015

lore
Share & tools
lore
#0 lore raw

With the release of 4.2-rc2 done, we should not be seeing any new code added that gets upset by this small code move, and we've banked yet another complete week of testing with this move in place on top of 4.2-rc1 via linux-next to ensure that remained true.

Given that, I'd like to put it in now so that people formulating new work for 4.3-rc1 will be exposed to the ever so slightly stricter (but sensible) requirements wrt. whether they are needing init.h vs. module.h macros, even if they are not using linux-next.

The diffstat of the move is slightly asymmetrical due to needing to leave behind a couple #ifdef in the old location and add the same ones to the new location, but other than that, it is a 1:1 move, complete with the module_init/exit trailing semicolon that we can't fix. That is, until/unless someone does a tree-wide sed fix of all the approximately 800 currently in tree users relying on it.

Thanks,
Paul.
---

The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754:

Linux 4.2-rc1 (2015-07-05 11:01:52 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git tags/module-final-v4.2-rc1

for you to fetch changes up to 0fd972a7d91d6e15393c449492a04d94c0b89351:

module: relocate module_init from init.h to module.h (2015-07-05 23:59:14 -0400)

----------------------------------------------------------------
final init.h ---> module.h code relocation

----------------------------------------------------------------
Paul Gortmaker (1):
module: relocate module_init from init.h to module.h

 include/linux/init.h   | 78 ----------------------------------------------
 include/linux/module.h | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+), 78 deletions(-)