* [PATCH] powerpc: Fix ibm,client-architecture-support printout
@ 2009-09-22 6:47 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2009-09-22 6:47 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
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: Anton Blanchard <anton@samba.org>
---
Index: linux.trees.git/arch/powerpc/kernel/prom_init.c
===================================================================
--- linux.trees.git.orig/arch/powerpc/kernel/prom_init.c 2009-09-22 16:18:12.000000000 +1000
+++ linux.trees.git/arch/powerpc/kernel/prom_init.c 2009-09-22 16:37:59.000000000 +1000
@@ -800,7 +800,7 @@ static void __init prom_send_capabilitie
root = call_prom("open", 1, 1, ADDR("/"));
if (root != 0) {
/* 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,
ADDR("ibm,client-architecture-support"),
root,
@@ -814,6 +814,7 @@ static void __init prom_send_capabilitie
return;
}
call_prom("close", 1, 0, root);
+ prom_printf(" not implemented\n");
}
/* no ibm,client-architecture-support call, try the old way */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-22 6:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 6:47 [PATCH] powerpc: Fix ibm,client-architecture-support printout Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).