diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-05-02 02:05:49 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-06-16 20:12:30 +0200 |
commit | 2e21fa2d11ab61e1827bd5bb1e0e2484931d68e1 (patch) | |
tree | ee3efae3230b9bb290b3ac711f2db5bdc1b5bc27 /arch/ia64/hp | |
parent | arm: don't use module_init in non-modular mach-vexpress/spc.c code (diff) | |
download | linux-2e21fa2d11ab61e1827bd5bb1e0e2484931d68e1.tar.xz linux-2e21fa2d11ab61e1827bd5bb1e0e2484931d68e1.zip |
ia64: don't use module_init for non-modular core kernel/mca.c code
The mca.c code is always built in. 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: 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>
Diffstat (limited to 'arch/ia64/hp')
0 files changed, 0 insertions, 0 deletions