From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
"H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>,
Ralf Baechle <ralf@linux-mips.org>,
Russell King <linux@arm.linux.org.uk>,
Rusty Russell <rusty@rustcorp.com.au>,
Thomas Gleixner <tglx@linutronix.de>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mips@linux-mips.org>, <x86@kernel.org>
Subject: [PATCH 0/4] Relocate module code from init.h to module.h
Date: Tue, 2 Jun 2015 16:16:04 -0400 [thread overview]
Message-ID: <1433276168-21550-1-git-send-email-paul.gortmaker@windriver.com> (raw)
What started as a removal of no longer required include <linux/init.h>
due to the earlier __cpuinit and __devinit removal led to the observation
that some module specfic support was living in init.h itself, thus
preventing the full removal from introducing compile regressions.
This series of commits includes the final relocation of the modular
init code from <init.h> to <module.h> -- we do this because modular
users will always be users of init functionality, but users of init
functionality are not necessarily always modules. Once done, the
trivial one line removals can be finalized at any time, a bit at a
time, through maintainer trees etc.
In order to do that, a couple of final things that this will uncover
are fixed up here -- things that weren't easily categorized into any
of the other previous series leading up to this final one. The
previous groupings of commits that get us to this final series are:
1: [PATCH 00/11] Delete new __cpuinit users and then delete stubs
https://lkml.kernel.org/r/1430174880-27958-1-git-send-email-paul.gortmaker@windriver.com
2: [PATCH 00/11] Fix implicit includes of <module.h> that will break.
https://lkml.kernel.org/r/1430444867-22342-1-git-send-email-paul.gortmaker@windriver.com>
3: [PATCH 00/15] Replace module_init with device_initcall in non modules
https://lkml.kernel.org/r/1432860493-23831-1-git-send-email-paul.gortmaker@windriver.com
4: [PATCH 00/11] Replace module_init with an alternate initcall in non modules
https://lkml.kernel.org/r/1433120052-18281-1-git-send-email-paul.gortmaker@windriver.com
5: [PATCH 0/7] Introduce builtin_driver and use it for non-modular code
https://lkml.kernel.org/r/1431287385-1526-1-git-send-email-paul.gortmaker@windriver.com>
This group of six is factored out from what was a previously larger series[1]
so that there is a common theme and lower patch count to ease review. Setting
aside the trivial one line include <linux/init.h> removals for later also
greatly reduces the series size and makes all six parts more manageable.
Paul.
[1] http://lkml.kernel.org/r/1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com
---
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Cc: x86@kernel.org
Paul Gortmaker (4):
x86: replace __init_or_module with __init in non-modular vsmp_64.c
arm: fix implicit #include <linux/init.h> in entry asm.
mips: make loongsoon serial driver explicitly modular
module: relocate module_init from init.h to module.h
arch/arm/kernel/entry-armv.S | 2 +
arch/mips/loongson/common/serial.c | 9 +++-
arch/x86/kernel/vsmp_64.c | 2 +-
include/linux/init.h | 78 -----------------------------------
include/linux/module.h | 84 ++++++++++++++++++++++++++++++++++++++
5 files changed, 94 insertions(+), 81 deletions(-)
--
2.2.1
next reply other threads:[~2015-06-02 20:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 20:16 Paul Gortmaker [this message]
2015-06-02 20:16 ` [PATCH 1/4] x86: replace __init_or_module with __init in non-modular vsmp_64.c Paul Gortmaker
2015-06-02 20:16 ` [PATCH 2/4] arm: fix implicit #include <linux/init.h> in entry asm Paul Gortmaker
2015-06-02 20:16 ` [PATCH 3/4] mips: make loongsoon serial driver explicitly modular Paul Gortmaker
2015-06-02 21:47 ` Paul Bolle
2015-06-02 22:43 ` Paul Gortmaker
2015-06-03 7:55 ` Ralf Baechle
2015-06-09 7:35 ` Ralf Baechle
2015-06-09 23:15 ` Paul Gortmaker
2015-06-10 8:47 ` Ralf Baechle
2015-06-02 20:16 ` [PATCH 4/4] module: relocate module_init from init.h to module.h Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1433276168-21550-1-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=hpa@zytor.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux@arm.linux.org.uk \
--cc=mingo@redhat.com \
--cc=ralf@linux-mips.org \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome