From: Heiko Carstens Date: Mon, 17 Aug 2015 06:09:17 +0000 (+0200) Subject: s390/nmi: initialize control register 0 earlier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24d05ff863e78544e8538a792e3234291cdd5650;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/nmi: initialize control register 0 earlier Change machine_check_init() to an early_initcall(). This makes sure it will be called before all other cpus are online and therfore saves us a lot of pointless smp_call_function() calls. The control register settings will be forwarded to the other cpus when they will be brought online. Signed-off-by: Heiko Carstens Reviewed-by: Hendrik Brueckner Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/nmi.c b/arch/s390/kernel/nmi.c index cbdd94c8ba18..0ae6f8e74840 100644 --- a/arch/s390/kernel/nmi.c +++ b/arch/s390/kernel/nmi.c @@ -363,4 +363,4 @@ static int __init machine_check_init(void) ctl_set_bit(14, 24); /* enable warning MCH */ return 0; } -arch_initcall(machine_check_init); +early_initcall(machine_check_init);