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

David Miller davem at davemloft.net
Mon Feb 15 06:50:07 EST 2010


From: Grant Likely <grant.likely at secretlab.ca>
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 <grant.likely at secretlab.ca>

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list