From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D5643DDFDC for ; Tue, 9 Oct 2007 06:46:30 +1000 (EST) In-Reply-To: <20071008203754.12243.1712.stgit@trillian.cg.shawcable.net> References: <20071008203754.12243.1712.stgit@trillian.cg.shawcable.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <34DC57DB-3C62-4CFA-ADD3-6A4CC8CDAB6B@kernel.crashing.org> From: Kumar Gala Subject: Re: [PATCH 1/2] Only call ppc_md.setup_arch() if it is provided. Date: Mon, 8 Oct 2007 15:45:59 -0500 To: Grant Likely Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Oct 8, 2007, at 3:37 PM, Grant Likely wrote: > From: Grant Likely > > This allows platforms which don't have anything to do at setup_arch > time > (like a bunch of the 4xx platforms) to eliminate an empty > setup_arch hook. > > Signed-off-by: Grant Likely > --- Can you add a comment to include/asm-powerpc/machdep.h to state that setup_arch() /* Optional, may be NULL */ We're a bit inconsistent here but would be good to make changes be correct. - k