diff --git a/init/main.c b/init/main.c index 18f8f0140fa0351691b45f1152e64ee1b10e3f24..e198e2fe86cb0d3b13c4d7570561574f3b8b686e 100644 --- a/init/main.c +++ b/init/main.c @@ -1134,7 +1134,6 @@ static noinline void __init kernel_init_freeable(void) init_mm_internals(); do_pre_smp_initcalls(); - lockup_detector_init(); smp_init(); sched_init_smp(); @@ -1143,6 +1142,8 @@ static noinline void __init kernel_init_freeable(void) do_basic_setup(); + lockup_detector_init(); + /* Open the /dev/console on the rootfs, this should never fail */ if (ksys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) pr_err("Warning: unable to open an initial console.\n");