From patchwork Tue Sep 22 06:47:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Blanchard X-Patchwork-Id: 34043 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 111EFB7DD6 for ; Tue, 22 Sep 2009 16:52:20 +1000 (EST) Received: by ozlabs.org (Postfix, from userid 1010) id CF35CB7B65; Tue, 22 Sep 2009 16:52:13 +1000 (EST) Date: Tue, 22 Sep 2009 16:47:39 +1000 From: Anton Blanchard To: benh@kernel.crashing.org Subject: [PATCH] powerpc: Fix ibm,client-architecture-support printout Message-ID: <20090922064739.GB19453@kryten> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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 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 */