OSDN Git Service

powerpc/setup: display reason for not booting
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 18 Dec 2018 06:53:41 +0000 (06:53 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:15 +0000 (00:10 +1100)
When no machine description matches, display it clearly
before looping forever.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup-common.c

index fa606aa..9a6a085 100644 (file)
@@ -634,7 +634,7 @@ void probe_machine(void)
        }
        /* What can we do if we didn't find ? */
        if (machine_id >= &__machine_desc_end) {
-               DBG("No suitable machine found !\n");
+               pr_err("No suitable machine description found !\n");
                for (;;);
        }