OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ceaa6
)
powerpc/setup: display reason for not booting
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Tue, 18 Dec 2018 06:53:41 +0000
(06:53 +0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/setup-common.c
b/arch/powerpc/kernel/setup-common.c
index
fa606aa
..
9a6a085
100644
(file)
--- 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 (;;);
}