diff options
| author | Anton Blanchard <anton@samba.org> | 2009-09-21 16:47:39 -0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-09-24 01:31:47 -0400 |
| commit | 049d0497060bc8db944f7b4984271327448b3603 (patch) | |
| tree | 52ffb99cd3d9904055cdb0b255e6e3e8dec42c5c | |
| parent | ea55bf29126f0066a4e82a8545437494ff4fc431 (diff) | |
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: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
| -rw-r--r-- | arch/powerpc/kernel/prom_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 864334b337a3..bafac2e41ae1 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
| @@ -800,7 +800,7 @@ static void __init prom_send_capabilities(void) | |||
| 800 | root = call_prom("open", 1, 1, ADDR("/")); | 800 | root = call_prom("open", 1, 1, ADDR("/")); |
| 801 | if (root != 0) { | 801 | if (root != 0) { |
| 802 | /* try calling the ibm,client-architecture-support method */ | 802 | /* try calling the ibm,client-architecture-support method */ |
| 803 | prom_printf("Calling ibm,client-architecture..."); | 803 | prom_printf("Calling ibm,client-architecture-support..."); |
| 804 | if (call_prom_ret("call-method", 3, 2, &ret, | 804 | if (call_prom_ret("call-method", 3, 2, &ret, |
| 805 | ADDR("ibm,client-architecture-support"), | 805 | ADDR("ibm,client-architecture-support"), |
| 806 | root, | 806 | root, |
| @@ -814,6 +814,7 @@ static void __init prom_send_capabilities(void) | |||
| 814 | return; | 814 | return; |
| 815 | } | 815 | } |
| 816 | call_prom("close", 1, 0, root); | 816 | call_prom("close", 1, 0, root); |
| 817 | prom_printf(" not implemented\n"); | ||
| 817 | } | 818 | } |
| 818 | 819 | ||
| 819 | /* no ibm,client-architecture-support call, try the old way */ | 820 | /* no ibm,client-architecture-support call, try the old way */ |
