linux/arch
Paul Gortmaker 30e3c6428f xtensa: don't use module_init for non-modular core network.c code
The network.c code is piggybacking off of the arch independent
CONFIG_NET, which is bool.  So the code is either built in or
absent.  It will never be modular, so using module_init as an
alias for __initcall is rather misleading.

Fix this up now, so that we can relocate module_init from
init.h into module.h in the future.  If we don't do this, we'd
have to add module.h to obviously non-modular code, and that
would be a worse thing.

Direct use of __initcall is discouraged, vs prioritized ones.
Use of device_initcall is consistent with what __initcall
maps onto, and hence does not change the init order, making the
impact of this change zero.   Should someone with real hardware
for boot testing want to change it later to arch_initcall or
something different, they can do that at a later date.

Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Thomas Meyer <thomas@m3y3r.de>
Cc: linux-xtensa@linux-xtensa.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2015-06-16 14:12:31 -04:00
..
alpha alpha: kernel: osf_sys: Set 'kts.tv_nsec' only when 'tv' has effect 2015-05-26 10:01:51 -07:00
arc ARC: inline cache flush toggle helpers 2015-05-11 11:21:41 +05:30
arm arm: don't use module_init in non-modular mach-vexpress/spc.c code 2015-06-16 14:12:29 -04:00
arm64 - dts: mt8173: fix compatible string 2015-06-01 17:06:51 +02:00
avr32
blackfin blackfin: Fix build error 2015-06-10 10:19:24 -07:00
c6x
cris cris: don't use module_init for non-modular core intmem.c code 2015-06-16 14:12:30 -04:00
frv Devicetree updates for 4.1: 2015-04-24 08:46:18 -07:00
hexagon
ia64 ia64: don't use module_init in non-modular sim/simscsi.c code 2015-06-16 14:12:30 -04:00
m32r m32r: make flush_cpumask non-volatile. 2015-05-09 11:09:29 -07:00
m68k
metag Metag architecture changes for v4.1 2015-04-24 07:56:50 -07:00
microblaze
mips MIPS: MSA: bugfix - disable MSA correctly for new threads/processes. 2015-06-10 11:24:53 +02:00
mn10300 mn10300: don't use module_init in non-modular flash.c code 2015-06-16 14:12:30 -04:00
nios2 nios2 update for v4.1-rc1 2015-04-24 07:59:07 -07:00
openrisc
parisc parisc64: don't use module_init for non-modular core perf code 2015-06-16 14:12:30 -04:00
powerpc powerpc: don't use module_init in non-modular 83xx suspend code 2015-06-16 14:12:29 -04:00
s390 s390/bpf: fix bpf frame pointer setup 2015-06-03 19:31:39 -07:00
score score: Fix exception handler label 2015-06-10 10:19:47 -07:00
sh sh: don't use module_init in non-modular psw.c code 2015-06-16 14:12:31 -04:00
sparc sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE 2015-05-31 22:15:01 -07:00
tile tile: properly use node_isset() on a nodemask_t 2015-04-28 10:36:45 -04:00
um
unicore32
x86 x86: don't use module_init in non-modular devicetree.c code 2015-06-16 14:12:29 -04:00
xtensa xtensa: don't use module_init for non-modular core network.c code 2015-06-16 14:12:31 -04:00
.gitignore
Kconfig