[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1432860493-23831-1-git-send-email-paul.gortmaker@windriver.com>
Date: Thu, 28 May 2015 20:47:58 -0400
From: Paul Gortmaker <paul.gortmaker@...driver.com>
To: <linux-kernel@...r.kernel.org>
CC: Paul Gortmaker <paul.gortmaker@...driver.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Chris Zankel <chris@...kel.net>,
David Howells <dhowells@...hat.com>,
Fenghua Yu <fenghua.yu@...el.com>,
Geoff Levand <geoff@...radead.org>,
Helge Deller <deller@....de>, "H. Peter Anvin" <hpa@...or.com>,
Ingo Molnar <mingo@...hat.com>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
"James E.J. Bottomley" <jejb@...isc-linux.org>,
Jesper Nilsson <jesper.nilsson@...s.com>,
Koichi Yasutake <yasutake.koichi@...panasonic.com>,
Matt Turner <mattst88@...il.com>,
Max Filippov <jcmvbkbc@...il.com>,
Mikael Starvik <starvik@...s.com>,
Mike Turquette <mturquette@...aro.org>,
Paul Mackerras <paulus@...ba.org>,
Paul Mundt <lethal@...ux-sh.org>,
Richard Henderson <rth@...ddle.net>,
Russell King <linux@....linux.org.uk>,
Scott Wood <scottwood@...escale.com>,
Thomas Gleixner <tglx@...utronix.de>,
Thomas Meyer <thomas@...3r.de>,
Tony Luck <tony.luck@...el.com>, <linux-alpha@...r.kernel.org>,
<linux-am33-list@...hat.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-cris-kernel@...s.com>, <linux-ia64@...r.kernel.org>,
<linux-parisc@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
<linux-sh@...r.kernel.org>, <linux-xtensa@...ux-xtensa.org>,
<x86@...nel.org>
Subject: [PATCH 00/15] Replace module_init with device_initcall in non modules
This series of commits converts non-modular code that is using
the module_init() call to hook itself into the system to instead
use device_initcall().
The conversion is a runtime no-op, since module_init actually
becomes __initcall in the non-modular case, and that in turn gets
mapped onto device_initcall.
We fix this up now, so that we can relocate module_init from
init.h into module.h in a future series.
The files changed here are just limited to those that would
otherwise have to add module.h to obviously non-modular code, since
we don't want to do that.
This work 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.
Paul.
[1] https://marc.info/?l=linux-kernel&m=139033951228828
---
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: Chris Zankel <chris@...kel.net>
Cc: David Howells <dhowells@...hat.com>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: Geoff Levand <geoff@...radead.org>
Cc: Helge Deller <deller@....de>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Ivan Kokshaysky <ink@...assic.park.msu.ru>
Cc: "James E.J. Bottomley" <jejb@...isc-linux.org>
Cc: Jesper Nilsson <jesper.nilsson@...s.com>
Cc: Koichi Yasutake <yasutake.koichi@...panasonic.com>
Cc: Matt Turner <mattst88@...il.com>
Cc: Max Filippov <jcmvbkbc@...il.com>
Cc: Mikael Starvik <starvik@...s.com>
Cc: Mike Turquette <mturquette@...aro.org>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Paul Mundt <lethal@...ux-sh.org>
Cc: Richard Henderson <rth@...ddle.net>
Cc: Russell King <linux@....linux.org.uk>
Cc: Scott Wood <scottwood@...escale.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Thomas Meyer <thomas@...3r.de>
Cc: Tony Luck <tony.luck@...el.com>
Cc: linux-alpha@...r.kernel.org
Cc: linux-am33-list@...hat.com
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linux-cris-kernel@...s.com
Cc: linux-ia64@...r.kernel.org
Cc: linux-parisc@...r.kernel.org
Cc: linuxppc-dev@...ts.ozlabs.org
Cc: linux-sh@...r.kernel.org
Cc: linux-xtensa@...ux-xtensa.org
Cc: x86@...nel.org
Paul Gortmaker (15):
x86: don't use module_init in non-modular intel_mid_vrtc.c
x86: don't use module_init in non-modular devicetree.c code
powerpc: use device_initcall for registering rtc devices
powerpc: don't use module_init in non-modular 83xx suspend code
arm: don't use module_init in non-modular mach-vexpress/spc.c code
alpha: don't use module_init for non-modular core code
ia64: don't use module_init for non-modular core kernel/mca.c code
ia64: don't use module_init in non-modular sim/simscsi.c code
cris: don't use module_init for non-modular core intmem.c code
parisc: don't use module_init for non-modular core pdc_cons code
parisc64: don't use module_init for non-modular core perf code
mn10300: don't use module_init in non-modular flash.c code
sh: don't use module_init in non-modular psw.c code
xtensa: don't use module_init for non-modular core network.c code
drivers/clk: don't use module_init in clk-nomadik.c which is
non-modular
arch/alpha/kernel/srmcons.c | 3 +--
arch/arm/mach-vexpress/spc.c | 2 +-
arch/cris/arch-v32/mm/intmem.c | 3 +--
arch/ia64/hp/sim/simscsi.c | 11 +----------
arch/ia64/sn/kernel/mca.c | 3 +--
arch/mn10300/unit-asb2303/flash.c | 3 +--
arch/parisc/kernel/pdc_cons.c | 3 +--
arch/parisc/kernel/perf.c | 3 +--
arch/powerpc/kernel/time.c | 2 +-
arch/powerpc/platforms/83xx/suspend.c | 3 +--
arch/powerpc/platforms/ps3/time.c | 3 +--
arch/sh/boards/mach-landisk/psw.c | 2 +-
arch/x86/kernel/devicetree.c | 2 +-
arch/x86/platform/intel-mid/intel_mid_vrtc.c | 3 +--
arch/xtensa/platforms/iss/network.c | 4 +---
drivers/clk/clk-nomadik.c | 3 +--
16 files changed, 16 insertions(+), 37 deletions(-)
--
2.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists