Consolidate of_get_next_child
commitd1cd355a5e44dfe993efc0c0458ca9f99a28a9a3
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Apr 2007 07:21:29 +0000 (24 17:21 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 Jul 2007 03:34:26 +0000 (20 13:34 +1000)
tree9bcc28338f70b8c3c5076f2dbf0a8d3ce551f0b8
parente679c5f445fe142940e0962de9c5c82f10d9357c
Consolidate of_get_next_child

This adds a read_lock around the child/next accesses on Sparc.

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