Consolidate of_get_parent
commite679c5f445fe142940e0962de9c5c82f10d9357c
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Apr 2007 07:16:16 +0000 (24 17:16 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 Jul 2007 03:32:58 +0000 (20 13:32 +1000)
tree997daf76cc643fdc495ce0a667cfdc5b1c9515ab
parent581b605a83ec241a2aff8ef780e08b9414c8dfd8
Consolidate of_get_parent

This requires creating dummy of_node_{get,put} routines for sparc and
sparc64.  It also adds a read_lock around the parent accesses.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: David S. Miller <davem@davemloft.net>
arch/powerpc/kernel/prom.c
arch/sparc/kernel/prom.c
arch/sparc64/kernel/prom.c
drivers/of/base.c
include/asm-sparc/prom.h
include/asm-sparc64/prom.h