[SPARC64]: Fix recursion in PROM tree building.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 10 May 2007 07:53:29 +0000 (00:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 10 May 2007 07:53:29 +0000 (00:53 -0700)
commitaa5242e78f8667ba771e4c0d44bf45871abceb7e
tree75ec694e3347e7634a01227c0e431617df07153e
parent7cc5c8559c62289d027812bfdd4eb6a28c5769b6
[SPARC64]: Fix recursion in PROM tree building.

Use iteration for scanning of PROM node siblings.

Based upon a patch by Greg Onufer, who found this bug.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/prom.c