Re: [PATCH 8/9] of/sparc: Remove sparc-local declaration of allnodes and devtree_lock

2010-02-14 Thread David Miller
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.

Re: [PATCH 8/9] of/sparc: Remove sparc-local declaration of allnodes and devtree_lock

2010-02-13 Thread Benjamin Herrenschmidt
On Sat, 2010-02-13 at 09:03 -0700, Grant Likely wrote: > 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. > >

[PATCH 8/9] of/sparc: Remove sparc-local declaration of allnodes and devtree_lock

2010-02-13 Thread Grant Likely
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 i