summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-12-18 06:53:41 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-22 00:10:15 +1100
commite995265252fad3cf10cec6821ff0870cd95c4f08 (patch)
tree2676a68754d600ea18190b679b0ad4d4f6b91cd4 /arch/powerpc/kernel/setup-common.c
parent32ceaa6e128556ec67151a16d7c2c04580170db8 (diff)
powerpc/setup: display reason for not booting
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>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index fa606aa98f6d..9a6a0859c1ef 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -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 (;;);
}