Commit 049d0497 authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt

powerpc: Fix ibm,client-architecture-support printout

On machines without the ibm,client-architecture-support call we were missing a
newline. We may as well print the full name in all its glory too - its
ibm,client-architecture-support, not ibm,client-architecture as I mistakenly
wrote (a name only an IBM architect could love).

For my penance I will write out ibm,client-architecture-support 100 times.

Before:

Calling ibm,client-architecture...command line: root=/dev/sda6 console=hvc0  quiet

After:

Calling ibm,client-architecture-support... not implemented
command line: root=/dev/sda6 console=hvc0
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent ea55bf29
...@@ -800,7 +800,7 @@ static void __init prom_send_capabilities(void) ...@@ -800,7 +800,7 @@ static void __init prom_send_capabilities(void)
root = call_prom("open", 1, 1, ADDR("/")); root = call_prom("open", 1, 1, ADDR("/"));
if (root != 0) { if (root != 0) {
/* try calling the ibm,client-architecture-support method */ /* try calling the ibm,client-architecture-support method */
prom_printf("Calling ibm,client-architecture..."); prom_printf("Calling ibm,client-architecture-support...");
if (call_prom_ret("call-method", 3, 2, &ret, if (call_prom_ret("call-method", 3, 2, &ret,
ADDR("ibm,client-architecture-support"), ADDR("ibm,client-architecture-support"),
root, root,
...@@ -814,6 +814,7 @@ static void __init prom_send_capabilities(void) ...@@ -814,6 +814,7 @@ static void __init prom_send_capabilities(void)
return; return;
} }
call_prom("close", 1, 0, root); call_prom("close", 1, 0, root);
prom_printf(" not implemented\n");
} }
/* no ibm,client-architecture-support call, try the old way */ /* no ibm,client-architecture-support call, try the old way */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment