From patchwork Tue Nov 16 17:55:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alessio Igor Bogani X-Patchwork-Id: 71438 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 B2EFFB739B for ; Wed, 17 Nov 2010 05:22:08 +1100 (EST) Received: from mail-ey0-f179.google.com (mail-ey0-f179.google.com [209.85.215.179]) by ozlabs.org (Postfix) with ESMTP id AA479B7141 for ; Wed, 17 Nov 2010 04:55:36 +1100 (EST) Received: by eyg24 with SMTP id 24so474149eyg.38 for ; Tue, 16 Nov 2010 09:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer; bh=RajzPE5RdRlntSu9tpFrvoFLbvGwa0wwtjvB4ey6iWQ=; b=oS3XwWwpeY7hDAmlDQPZdfPPsafBWzziWNkgyrjePNhcy0y8P2ig0VuNiOKANN15kW rb5qNfHeIwgiTQ4eDkyRhF2CSNxhk9RzR+2D11GwzC2V9z376UO4D/+TrOJMQgNnQFHx atis187ZQcKm3Y8Jn8mlyxzHIQWzycWt7BbMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=Iop8F9mXIxtoqKjT5NG46CuEBmXV+AN9OSCbowF16Y2p1QGk7Dqxq0Y0BqeQkk+NIJ eqNeXYb0V4Mzx2Klg+hm5Jr17nvEuXiJtmUF/+54v+wLDzwVEQd/hJGfU6RVBZwf22O4 GV0Wo3Cv2T8MsCqA/u+mytvBVHOC1JYZGbbao= Received: by 10.216.255.148 with SMTP id j20mr6925395wes.11.1289930132746; Tue, 16 Nov 2010 09:55:32 -0800 (PST) Received: from localhost.localdomain (net-188-218-233-64.cust.dsl.vodafone.it [188.218.233.64]) by mx.google.com with ESMTPS id x28sm699183weq.40.2010.11.16.09.55.30 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 09:55:31 -0800 (PST) From: Alessio Igor Bogani To: Benjamin Herrenschmidt , Paul Mackerras Subject: [PATCH] powerpc: Update a comment Date: Tue, 16 Nov 2010 18:55:16 +0100 Message-Id: <1289930116-5702-1-git-send-email-abogani@texware.it> X-Mailer: git-send-email 1.7.0.4 X-Mailman-Approved-At: Wed, 17 Nov 2010 05:22:02 +1100 Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Tim Bird , linuxppc-dev , Alessio Igor Bogani X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org The commit 5e3d20a remove bkl from startup code so setup_arch() it isn't called with bkl held anymore. Update the comment on top of that function. Fix also a typo. This work was supported by a hardware donation from the CE Linux Forum. Signed-off-by: Alessio Igor Bogani --- arch/powerpc/kernel/setup_64.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 2a178b0..ce6f61c 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c @@ -497,9 +497,8 @@ static void __init emergency_stack_init(void) } /* - * Called into from start_kernel, after lock_kernel has been called. - * Initializes bootmem, which is unsed to manage page allocation until - * mem_init is called. + * Called into from start_kernel this initializes bootmem, which is used + * to manage page allocation until mem_init is called. */ void __init setup_arch(char **cmdline_p) {