diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-06-23 08:17:32 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-28 01:59:47 (GMT) |
commit | aa98c50dcb5d5b85d2a4c26d54fa1e3c31c11e4b (patch) | |
tree | 4c0747cace834f0fe75244ccd69c6ff8fc2827cb /arch/powerpc/kernel/machine_kexec_64.c | |
parent | c30a4df3f134f511e8cdf828da429e333753daab (diff) | |
download | linux-fsl-qoriq-aa98c50dcb5d5b85d2a4c26d54fa1e3c31c11e4b.tar.xz |
[POWERPC] Make kexec_setup() a regular initcall
There's no reason kexec_setup() needs to be called explicitly from
setup_system(), it can just be a regular initcall.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
-rw-r--r-- | arch/powerpc/kernel/machine_kexec_64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index a8fa04e..b438d45 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c @@ -378,11 +378,13 @@ static void __init export_crashk_values(void) of_node_put(node); } -void __init kexec_setup(void) +static int __init kexec_setup(void) { export_htab_values(); export_crashk_values(); + return 0; } +__initcall(kexec_setup); static int __init early_parse_crashk(char *p) { |