diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-05-02 03:05:49 +0300 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-06-16 21:12:30 +0300 |
commit | 2e21fa2d11ab61e1827bd5bb1e0e2484931d68e1 (patch) | |
tree | ee3efae3230b9bb290b3ac711f2db5bdc1b5bc27 /net/wimax | |
parent | 4a0ece7ceceab251e92e7f98e7926642a065727b (diff) | |
download | linux-2e21fa2d11ab61e1827bd5bb1e0e2484931d68e1.tar.xz |
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 'net/wimax')
0 files changed, 0 insertions, 0 deletions