From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 8/9] of/sparc: Remove sparc-local declaration of allnodes and devtree_lock Date: Sun, 14 Feb 2010 11:50:07 -0800 (PST) Message-ID: <20100214.115007.94112348.davem@davemloft.net> References: <20100213154838.4767.83881.stgit@angua> <20100213160309.4767.94443.stgit@angua> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100213160309.4767.94443.stgit@angua> Sender: sparclinux-owner@vger.kernel.org To: grant.likely@secretlab.ca Cc: monstr@monstr.eu, sfr@canb.auug.org.au, benh@kernel.crashing.org, jeremy.kerr@canonical.com, microblaze-uclinux@itee.uq.edu.au, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org From: Grant Likely Date: Sat, 13 Feb 2010 09:03:09 -0700 > Both allnodes and devtree_lock are defined in common code. The > extern declaration should be in the common header too so that the > compiler can type check. allnodes is already in of.h, but > devtree_lock should be declared there too. > > This patch removes the SPARC declarations and uses decls in of.h instead. > > Signed-off-by: Grant Likely Acked-by: David S. Miller