powerpc/bootwrapper: Use the child-bus #address-cells to decide which range entry...
authorScott Wood <scottwood@freescale.com>
Fri, 19 Dec 2008 10:13:09 +0000 (10:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Dec 2008 03:21:17 +0000 (14:21 +1100)
commit49e6e3f1aec2d46f5865d3ada38fe9a5d660ef5d
treeaab0d19f843339525bc08d2f22eb0225e09057e7
parente14d77490d3e1da833cff4fee52674c52684ce77
powerpc/bootwrapper: Use the child-bus #address-cells to decide which range entry to use

The correct #address-cells was still used for the actual translation,
so the impact is only a possibility of choosing the wrong range entry
or failing to find any match.  Most common cases were not affected.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/devtree.c