linux/arch/ia64/hp/sim
Paul Gortmaker 2a177fd1d9 ia64: don't use module_init in non-modular sim/simscsi.c code
The simscsi.o is built for HP_SIMSCSI -- which is bool, and hence
this code is either present or absent.  It will never be modular,
so using module_init as an alias for __initcall can be somewhat
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.

Note that direct use of __initcall is discouraged, vs. one
of the priority categorized subgroups.  As __initcall gets
mapped onto device_initcall, our use of device_initcall
directly in this change means that the runtime impact is
zero -- it will remain at level 6 in initcall ordering.

And since it can't be modular, we remove all the __exitcall
stuff related to module_exit() -- it is dead code that won't
ever be executed.

Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2015-06-16 14:12:30 -04:00
..
boot [IA64] sim: Add casts to avoid assignment warnings 2013-07-08 10:46:50 -07:00
hpsim_console.c [IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator) 2007-09-01 02:52:25 -07:00
hpsim_irq.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_setup.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_ssc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simeth.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
simscsi.c ia64: don't use module_init in non-modular sim/simscsi.c code 2015-06-16 14:12:30 -04:00
simserial.c TTY: cleanup tty->hw_stopped uses 2013-03-18 16:24:30 -07:00